User`s guide
Mathematics
8-7
meshgrid(1:3,1:4,1:5) will now assume a missing third output argument and
return 3-D output arrays x and y. Previously, the third input was ignored and the
function returned 2-D arrays for x and y.
• When a single argument is passed to ndgrid, the dimensionality of the output arrays
is dictated by the number of output arguments. ndgrid has been revised to maintain
consistency in the case of a single input and output. ndgrid will now degenerate
naturally to support 1-D outputs. For example, x = ndgrid(1:5) returns a 5-by-1
output vector x. Previously, a 5-by-5 array was returned.
Functionality Being Removed or Changed
Functionality What Happens
When You
Use This
Functionality
Use This Instead Compatibility Considerations
bessel Errors besselj Replace all instances of
bessel with besselj.
ODE solver syntax
solver('vdp',t0,tfinal,y0)
where solver is one
of the ODE solvers
ode45, ode23, ode113,
ode15s, ode23s,
ode23t, or ode23tb
Errors solver('vdp',[t0
tfinal],y0)
or
solver(@vdp,[t0
tfinal],y0)
Replace all instances of the
syntax t0,tfinal with
[t0 tfinal].
Values on and off for
Mass property of odeset
and odeget
Errors Set the Mass property to a
constant matrix or a function
that evaluates the variable
mass matrix.
Update your code to use a
constant mass matrix or
a function that evaluates
the variable mass matrix.
For more information,
check the supported
settings of Mass and
MassStateDependency in
the odeset properties.
MassConstant
property of odeset and
odeget
Errors For a constant mass matrix,
set the Mass property to that
matrix. For a time-dependent
mass matrix, set the Mass
Update your code to use a
constant mass matrix or
a function that evaluates
the variable mass matrix.