// scalars
a=1
b=11
c=a+b

// a matrix, no output
A=[1 2 3
4 5 6
-1 2 0];
// Inverse matrix, no output
B=A^-1;
// Matrix multiplication, with output
C=A*B
// outputs
A,B,C
a,b,c

// A function
function [y]=f1(x)
  if x>0 then, y=1; else, y=-1; end
endfunction

f1(0)

// In text form
deff('[y]=f2(x)','if x>0 then, y=1; else, y=-1; end')

f2(0)
