Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

How to store iterated result/data in Matlab ?

Status
Not open for further replies.

rahul.6sept

Full Member level 5
Full Member level 5
Joined
Nov 17, 2006
Messages
243
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
Guwahati, India
Activity points
2,889
Dear all,

I want to know as how to store iterated result in matlab.

I'm using a for loop,for every iteration of for loop i want to store the output.After completion of all iterations, the outputs are to be added for final result.

In C language we use array.But in Matlab, i'm not sure as how to code it.

Plz reply.


Regards,
rc
 

Hi,

i can't understand your problem but if you can code it with C, i am sure you can do the same with matlab.

you said you use a loop and you want to store output in array. You can try this :

iter=1;
while(iter<max_iter)
[your process]
output_vect[iter]=OUTPUT;
iter=iter+1;
end

Regards,

Chaker
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top