![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/14197941_1542834702967_DEF.jpg)
Damian Sztangierski
Followers: 0 Following: 0
Statistiques
3 Questions
0 Réponses
RANG
179 282
of 292 780
RÉPUTATION
0
CONTRIBUTIONS
3 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
0
RANG
of 19 939
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 147 949
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
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...
plus de 5 ans il y a | 1 réponse | 0
0
réponseQuestion
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...
plus de 5 ans il y a | 1 réponse | 0
0
réponseQuestion
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)...
plus de 5 ans il y a | 1 réponse | 0