how to extract the overwritten values inorder to plot the graph
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Could anyone tell me how to extract the overwritten values to plot the graph.
5 Comments
KSSV
on 6 Apr 2018
How and why the values are over written? We cannot help you unless code is shown.
Prabha Kumaresan
on 6 Apr 2018
Edited: Walter Roberson
on 6 Apr 2018
Walter Roberson
on 6 Apr 2018
Check to see if output1(1) is nan or inf
Walter Roberson
on 6 Apr 2018
This code does not agree with the output posted in the seemingly-the-same question https://www.mathworks.com/matlabcentral/answers/392992-could-anyone-help-me-how-to-plot-the-overwritten-values
Prabha Kumaresan
on 6 Apr 2018
Answers (1)
Walter Roberson
on 6 Apr 2018
0 votes
You are three loops deep at the point you assign to output1(), but you only index output1 with the first and third loop variables. Everything for the second loop (seed_index) is going to be overwritten.
4 Comments
Prabha Kumaresan
on 6 Apr 2018
Prabha Kumaresan
on 6 Apr 2018
Edited: Walter Roberson
on 6 Apr 2018
Walter Roberson
on 6 Apr 2018
I am confused about what the differences are between the three different questions you have going that look to me to all be about the same topic.
Prabha Kumaresan
on 6 Apr 2018
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!