Mathematics
4-19
Functionality What Happens When
You Use This Functionality
Use This Instead Compatibility
Considerations
repmat(A,empt,n),
where empt is an
empty array
Errors repmat(A,[n 1]) Replace all instances
of repmat(A,empt,n)
with repmat(A,[n
1]).
repmat(A,col),
where col is a column
vector
Errors repmat(A,col.') Replace all instances of
repmat(A,col) with
repmat(A,col.').
repmat(A,B), where B
is a matrix
Errors bvec =
B(1:length(B));
repmat(A,bvec)
Replace all instances of
repmat(A,B) with the
following code:
bvec =
B(1:length(B));
repmat(A,bvec).
repmat(A,B,C),
where B and C are
matrices
Errors BC = [B C];
bcvec =
BC(1:length(BC));
repmat(A,bcvec)
Replace all instances of
repmat(A,B,C) with
the following code:
BC = [B C];
bcvec =
BC(1:length(BC));
repmat(A,bcvec).
Noninteger-valued
size inputs for zeros,
ones, eye, Inf, NaN,
true, false, rand, randi,
randn, and cell
Errors Integer valued size
inputs
Replace all instances of
noninteger-valued size
inputs with integer-
valued size inputs
for zeros, ones,
eye, Inf, NaN, true,
false, rand, randi,
randn, and cell. You
can use floor for this
conversion.
mimofr Errors Not Applicable Remove all instances
of mimofr from your
existing code.
Comments to this Manuals