Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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?
 

abaidullah

Member level 5
Joined
Apr 28, 2006
Messages
81
Helped
8
Reputation
16
Reaction score
4
Trophy points
1,288
Activity points
1,608
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.
 

vacikel

Junior Member level 1
Joined
Oct 8, 2007
Messages
18
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,283
Activity points
1,367
Re: matlab help

did you try to keep result in a vector ?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top