Graphics Reference
In-Depth Information
>> K(3:-1:1,:)
ans =
0.6539 0.9103 0.0475 0.6326
0.0920 0.7012 0.2625 0.3282
0.5269 0.4160 0.7622 0.7361
>> K(:,4:-1:1)
ans =
0.7361 0.7622 0.4160 0.5269
0.3282 0.2625 0.7012 0.0920
0.6326 0.0475 0.9103 0.6539
>> K(3:-1:1,4:-1:1)
ans =
0.6326 0.0475 0.9103 0.6539
0.3282 0.2625 0.7012 0.0920
0.7361 0.7622 0.4160 0.5269
>> L = reshape(K, 4, 3)
L =
0.5269 0.7012 0.0475
0.0920 0.9103 0.7361
0.6539 0.7622 0.3282
0.4160 0.2625 0.6326
A.14 Elementary Functions that Support Complex Vectors
MATLAB is software which handles vector and matrix calculations. Its name, matrix laboratory , already gives an idea
of its power to work with vectors and matrices. MATLAB allows you to work with functions of a complex variable, but
in addition this variable can be even matrix and vector. Below is a table with the functions of complex variable vectors
that are incorporated in MATLAB.
max (v)
Maximum component (max is calculated for complex (abs (V)))
min (v)
Minimum component (min is calculated for complex (abs (V)))
mean (v)
Average of the components of V
median (v)
Median of the components of V
std (v)
Standard deviation of the components of V
sort (v)
Sorts in ascending order the components of V. For complex it sorts according to the absolute values
( continued )
 
Search WWH ::




Custom Search