Feeds
提问
How do you find the maximum value within segments of a vector?
If I have a vector with say, 10 elements, such as vec = [11 23 34 60 58 65 55 42 35 21], is there a way to find the maximum valu...
9 years 前 | 1 个回答 | 0
1
个回答提问
Help with for loop
I need to use a for loop to calculate the change in a variable as a function of time. Each run through the loop represents a tim...
13 years 前 | 1 个回答 | 0
1
个回答已回答
Find the roots of an expression
The following works. For the constants I gave I need to end the loop at 2600. If the loop runs longer an error occurs. clea...
Find the roots of an expression
The following works. For the constants I gave I need to end the loop at 2600. If the loop runs longer an error occurs. clea...
13 years 前 | 0
提问
Find the roots of an expression
Is there a function that can find the root(s) of an expression, which is not a polynomial? My constants and my final expression ...
13 years 前 | 2 个回答 | 0
2
个回答提问
Using the find function in a loop
Can the find function be used in a loop? I have not been able to get it to work. I have tried many ways but the find command doe...
13 years 前 | 3 个回答 | 0