Section: Mathematical Functions
psi
function takes only a single argument
y = psi(x)
where x
is either a float
or double
array. The output
vector y
is the same size (and type) as x
.
and for integer arguments, is equivalent to the factorial function.
[-5,5]
.
--> x = linspace(-5,5); --> y = psi(x); --> plot(x,y); xlabel('x'); ylabel('psi(x)');
which results in the following plot.