Tagged: size

Manipulating Matrices

Matrices and Magic Squares In MATLAB, a matrix is a rectangular array of numbers. Special meaning is sometimes attached to 1-by-1 matrices, which are scalars, and to matrices with only one row or column,...

while

while Repeat statements an indefinite number of times. The general form of a while statement is: while expression statements END The statements are executed while the real part of the expression has all non-zero...

end

end Terminate scope of FOR, WHILE, SWITCH, TRY, and IF statements. Without END’s, FOR, WHILE, SWITCH, TRY, and IF wait for further input. Each end is paired with the closest previous unpaired FOR, WHILE,...

more

more   Control paged output in command window. more OFF disables paging of the output in the MATLAB command window. more ON enables paging of the output in the MATLAB command window. more(N) specifies the...

computer

computer Computer type. computer returns a string containing the name of the computer on which MATLAB is executing. Possibilities are: ISPC ISUNIX PCWIN – MS-Windows 1 0 SOL2 – Sun Sparc (Solaris 2) 0...