User`s guide

R2007b
19-20
98
Existing program code that relies on the colon operations of character arrays returning a
double, needs to be updated to expect a character data type.
Matrix Generating Functions No Longer Accept Complex Inputs
Calling matrix generating functions, such as ones, zeros, rand, randn, true, and
false, with a complex number as dimensions input now returns the error:
true([1 i])
??? Error using ==> true
Size vector must be a row vector with real elements.
Compatibility Considerations
In previous releases, if you supplied a complex number as a dimension input, MATLAB
software returned:
true([1 i])
Warning: Size vector should be a row vector with integer elements.
Complex inputs will cause an error in a future release.
ans =
Empty matrix: 1-by-0
Existing program code that relies on entering complex numbers as dimension input to a
matrix generating function should be modified.