User`s guide

R2013b
4-18
Functionality What Happens When
You Use This Functionality
Use This Instead Compatibility
Considerations
Passing the 'pp'
flag to interp1. For
example:
pp = interp1(x, v,
'linear', 'pp');
vq = ppval(pp,
xq);
Warns Use griddedInterpolant
to create an
interpolating function
that is efficient to
evaluate in a repeated
manner.
Replace all instances
of interp1(...,
'pp') with
griddedInterpolant.
For example:
F =
griddedInterpolant(x,
v, 'linear');
vq = F(xq);
bitshift(A,k,N) Warns bitshift(A, k,
assumedtype)
Replace all instances
of bitshift(A,k,N)
with
bitshift(A,k,assumedtype).
bitcmp(A,N) Warns bitcmp(A,
assumedtype)
Replace all instances
of bitcmp(A,N) with
bitcmp(A,assumedtype).
repmat(A,r1,r2),
where r1 and r2 are
row vectors
Warns repmat(A,[r1 r2]) Replace all instances
of repmat(A,r1,r2)
with repmat(A,[r1
r2]).
repmat(A,empt),
where empt is an
empty array
Warns repmat(A,1) Replace all instances of
repmat(A,empt) with
repmat(A,1).
repmat(A,empt1,empt2),
where empt1 and
empt2 are empty
arrays
Warns repmat(A,1) Replace all instances of
repmat(A,empt1,empt2)
with repmat(A,1).
repmat(A,n,empt),
where empt is an
empty array
Warns repmat(A,[n 1]) Replace all instances
of repmat(A,n,empt)
with repmat(A,[n
1]).