User`s guide
R2012a
7-20
Functionality What Happens
When You
Use This
Functionality
Use This Instead Compatibility Considerations
Y = psi(k0:k1,X) Warns Y = psi(k,X) where k
is a scalar specifying the
kth derivative of ψ at the
elements of X.
Replace all instances of Y
= psi(k0:k1,X) with Y
= psi(k,X), where k is a
scalar. To modify your code,
loop through the values
k0:k1. For example:
for k=k0:k1
Y(:,k) = psi(k,X);
end
In the future, size(Y)
will be size(X). Modify
any code that depends on
size(Y).
Passing empty and
nonscalar input to
besselh, besseli,
besselj, besselk,
bessely, and airy.
For example,
J = besselj([],(1:3))
or
J = besselj((1:3),[])
Warns J = besselj(nu,[]) or J
= besselj([],Z) where nu
and Z are scalars.
Modify all instances that
pass combinations of empty
arrays with nonscalar
input. The inputs must be
the same size or one must
be a scalar.