Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Plotting result for each iteration of a for loops

Subject: Plotting result for each iteration of a for loops

From: Ulrik Nash

Date: 15 Dec, 2009 14:18:00

Message: 1 of 2

Hi everyone,

I have created a simple for loop where the values of a number of variables are calculated at each iteration. Now I wish to plot these values as they evolve over the for loop. What is the best way to do this? Ideally I would also like access to the numerical values of the plot, but initially the plot is most important.

Ulrik.

Subject: Plotting result for each iteration of a for loops

From: dpb

Date: 15 Dec, 2009 14:46:24

Message: 2 of 2

Ulrik Nash wrote:
> Hi everyone,
>
> I have created a simple for loop where the values of a number of
> variables are calculated at each iteration. Now I wish to plot these
> values as they evolve over the for loop. What is the best way to do
> this? Ideally I would also like access to the numerical values of the
> plot, but initially the plot is most important.
>
> Ulrik.

doc plot
doc hold

Look at "getting started" section on graphics for examples as well as
the demos

--

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us