how to store data from a for loop

조회 수: 1 (최근 30일)
MANJUNATH
MANJUNATH 2012년 10월 19일
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

채택된 답변

Sachin Ganjare
Sachin Ganjare 2012년 10월 19일
Refer the video at link given below:
Hope it helps!!!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by