Could anyone help me how to extract or store the values from the code after running the code to several iterations.

how to generate the graph from the values without running the code for the second time.

3 Comments

How is your code? You need to make a function of your code..put it in loop and store the output.
I am getting the graph when i run the code with respect to 100 iterations.It took around 4 hours to execute the result.Could you please tell me how to get the graph by using the values for 100 iterations again instead running it again.
Prabha - try saving the values (presumably you have an array of the output from each iteration) to a file with save. Alternatively, you could can try and optimize your code to improve performance.

Answers (0)

This question is closed.

Tags

Asked:

on 31 May 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!