Damian Sztangierski
Followers: 0 Following: 0
Statistics
3 Questions
0 Answers
RANK
179,282
of 292,795
REPUTATION
0
CONTRIBUTIONS
3 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19,940
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 147,960
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF 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...
5 years ago | 0 answers | 0
0
answersQuestion
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...
5 years ago | 0 answers | 0
0
answersQuestion
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)...
5 years ago | 1 answer | 0