Tin Nguyen
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
What am I doing wrong in my code? Trying to detect if array has NaN.
So this is my code: x = [ NaN NaN 24 ] if isnan(x)==1 A=2 else A=min(x) end So I ...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to find complex numbers in an array and turn it into something else?
So if I had an array that contains real numbers and complex number such as this: r = 0.2876 + 0.3069i 0.2876 - 0.30...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to select specific elements in a matrix?
Say I have a 10x10 matrix x = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 ...
9 years 前 | 1 个回答 | 1
1
个回答提问
Writing strings on multiple lines
Hi, I am trying to draw a graph with the following code: figure plot(x,dfdx4,'k-',x,dfdx5,'b-',x,dfdx6,'g-', x,fx4, ...
9 years 前 | 2 个回答 | 0
2
个回答提问
How to find all the even numbers in a vector?
Say we have a vector x=[ 1 1 2 2 2 2 3 3 3 3 4 4 4 ] and I want to find all the even numbers but subtract is by 1 so that the ve...
9 years 前 | 1 个回答 | 0