Adam Kevin Francis Baker
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
use a Loop to repeat an equation using the previous answer as the new variable.
I want to write a loop to do the below all the way up to p340....I do not want to change the name of the variable each time but ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Variable changes to previously calculated value each iteration.
Here is the equation I am dealing with p2 = p1./(exp((50)./(29.3.*((T))))); T = 1:340 p1 = 99977 I need to calculate p2 for ...
5 years 前 | 2 个回答 | 0
2
个回答已回答
perform calculation using for loop
Ok I had to do a double for loop to make it work because I was dealing with a matrix so I ended up writing this code to solve my...
perform calculation using for loop
Ok I had to do a double for loop to make it work because I was dealing with a matrix so I ended up writing this code to solve my...
6 years 前 | 0
| 已接受
已回答
perform calculation using for loop
This is what I did... for q = 1:numel(p1) q_for(q) = (0.622.*e(q))./(p1(q)); end and for the array operation q_array = ...
perform calculation using for loop
This is what I did... for q = 1:numel(p1) q_for(q) = (0.622.*e(q))./(p1(q)); end and for the array operation q_array = ...
6 years 前 | 0
提问
perform calculation using for loop
So I have to use a for loop because I'm a student and the teacher said so. I've been trying to figure this one out and I'm sure ...
6 years 前 | 2 个回答 | 0
2
个回答提问
for loop produces a 103x1 array I need a 1x103 array.
How do I get this for loop to produce a 103X1 array? I do not want to use the transpose function. for ii = 1:numel(H) if H...
6 years 前 | 1 个回答 | 0