how we can plot whole the ans

Answers (1)

First I suggest you put the output of the function in a variable, so instead of using
MyFunction(...)
use
Result = MyFunction(...)
In this way you do not have to use ans in the remainder of your code.
Secondly, what do you want to plot exactly?

2 Comments

i want to plot the total points in the ans
What do you expect to see on the screen?

Sign in to comment.

Categories

Asked:

on 19 May 2016

Commented:

on 19 May 2016

Community Treasure Hunt

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

Start Hunting!