photo

Jeah MK


Last seen: 2 years 前 自 2022 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 2
  • Thankful Level 1

查看徽章

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 years 前 | 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 years 前 | 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 ...

3 years 前 | 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...

3 years 前 | 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 (...

3 years 前 | 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]?

3 years 前 | 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...

3 years 前 | 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...

3 years 前 | 1 个回答 | 0

1

个回答