photo

Damian Sztangierski


Last seen: oltre 4 anni fa Attivo dal 2019

Followers: 0   Following: 0

Statistica

MATLAB Answers

3 Domande
0 Risposte

RANK
281.744
of 300.381

REPUTAZIONE
0

CONTRIBUTI
3 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.0%

VOTI RICEVUTI
0

RANK
 of 20.941

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 168.477

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

Feeds

Visto da

Domanda


How can I force a for loop to finish all iterations without using 'end'? I want my for loop to finish before moving onto line 11 otherwise some values will be missing.
h = 0.01; %step size A = 8000/11; %constant value T(1)=80; %initial temperature x(1)=0; % length along rod, 0cm to 4cm promp...

quasi 7 anni fa | 0 risposte | 0

0

risposte

Domanda


How do I repeat an iteration with newly generated initial conditions if a statement is false? I wrote code that gives me values i need, however if the difference between the values is not smaller than 0.5, I need the loop to restart.
I need help putting all of this into one big loop Guess initial value My code uses the guess to generate multiple T and Z va...

quasi 7 anni fa | 0 risposte | 0

0

risposte

Domanda


How do I put the code below into one big loop so I do not have to copy and paste no more?
h = 0.01; A = 8000/11; T(1)=80; x(1)=0; prompt = ('Guess initial Z value'); Z(1) = input(prompt); for i=2:5 x(i)...

quasi 7 anni fa | 1 risposta | 0

1

risposta