![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25069247_1639739713926_DEF.jpg)
Jeah MK
Followers: 0 Following: 0
Feeds
질문
Does it have a statement for replacing repeated multiple if and elseif statements?
I have a code: a = 0:0.001:1; b = 0.03*sin(a); for i = 1:length(a), d = 0; if b(i) <= 0.02; if 0 < b(...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
generate a vector with a condition of a vector
I have a vector a a = 1:1:20; and each increment of a by 1 and a <= 10 creates a vector b with condition: a = 1 => b = 1:1:1...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I rearrange a vector?
I have a vector a = [9 8 7 6 5 4 3 2 1 0 1 2 3 4 5 6 7 8 9]; How can I rearrage it to a = [0 0 0 0 0 4 3 2 1 0 1 2 3 4 0 0 ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to sum each element in vector
I have a vector a = 1:1:10; I want to make a vector by sum each elements; for example, s = [1+0 1+2 3+3 6+4 10+5 ...... ]; I...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
The sum of elements by multiplying two different vectors
I have an equation like this: where vector = 1:1:10 and vector time = 0:0.001:1; and b should be resulted in length of t (...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I plot a reverse x-axis on the same graph?
I have x = [0 1 2 3 4 3 2 1 0]; and y = 2*x; how can I plot(x,y) and see the value on x-axis as [0 1 2 3 4 3 2 1 0]?
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to add two different vectors?
I have a question regarding two vectors dimensions. x = 0:1:10000; y = 2*x; Then I would like to take 10 points from vector...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Two circles geometry problems
Circle1 with radius intersects with Circle 2 with radius . The Circle 1 has center , and Circle 2 has the center at the initial...
2년 초과 전 | 답변 수: 1 | 0