How to see all results when solving an equation by changing variables in Matlab?

Status
Not open for further replies.

imge

Newbie level 4
Joined
Oct 11, 2007
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,305
hi;

I'm trying to solve an equation by changing variables.. I can see the each result while debugging but when the program finished processing I can only see the last value calculated,the other 20 cannot be seen on the array,and it is not possible to plot a graph. do you have any idea?
 

Re: matlab help

its better to put the code so that its easier to answer.

well... in your case i think you can plot the result by making an array of the results at each iteration. use the array indices like array(i) ... in the loop/iteration.

if this doesn't solve your problem please post your code here.
 

Re: matlab help

did you try to keep result in a vector ?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…