답변 (1개)

Jos (10584)
Jos (10584) 2016년 5월 19일

0 개 추천

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

Ghulam Murtaza
Ghulam Murtaza 2016년 5월 19일
i want to plot the total points in the ans
Jos (10584)
Jos (10584) 2016년 5월 19일
What do you expect to see on the screen?

댓글을 달려면 로그인하십시오.

질문:

2016년 5월 19일

댓글:

2016년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by