photo

Adam Kevin Francis Baker


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 2 answers | 0

2

answers

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer