how to store data from a for loop

1 visualización (últimos 30 días)
MANJUNATH
MANJUNATH el 19 de Oct. de 2012
i have a for loop
for i =0:1023 data =i putvalue (dio, data)
start (ai); % starting analog input data1= getdata(ai)% acquiring data for DAQ
% here, i want to store data1 in a matrix so that for every value of "i" the data is stored in the matrix at different location so that i can directly plot that matrix ...
end

Respuesta aceptada

Sachin Ganjare
Sachin Ganjare el 19 de Oct. de 2012
Refer the video at link given below:
Hope it helps!!!

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by