![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20198459_1604328222463_DEF.jpg)
Ahmadreza Torabi
Followers: 0 Following: 0
Programming Languages:
MATLAB
Spoken Languages:
English
MATLAB
Spoken Languages:
English
Feeds
已回答
Extracting only real numbers from a vector containing both real and complex values
Hello You can use something like this: A = [1 2 7+i 3 8+i 4 9+i 5 6]; m = 1; n = length(A); for k = 1:n if isreal(A(k)...
Extracting only real numbers from a vector containing both real and complex values
Hello You can use something like this: A = [1 2 7+i 3 8+i 4 9+i 5 6]; m = 1; n = length(A); for k = 1:n if isreal(A(k)...
2 years 前 | 0