photo

Adam Kevin Francis Baker


Attivo dal 2019

Followers: 0   Following: 0

Statistica

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

Risposto
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...

quasi 6 anni fa | 0

| accettato

Risposto
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 = ...

quasi 6 anni fa | 0

Domanda


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

quasi 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta