Info

この質問は閉じられています。 編集または回答するには再度開いてください。

for loop and array

6 ビュー (過去 30 日間)
Gemma
Gemma 2023 年 1 月 20 日
閉鎖済み: Stephen23 2023 年 1 月 21 日
How can I run a for loop to read 3 different files loaded already on my workspace. Add the values on file 1 to file 2. Extract from another file the data and add +600, add that new data to an array and plot it. Any help with the code for this is really appreciated!
for j=1numTrials
trials=sprintf('trial_%i',j);
trialNum = num2str(j);
StartWalkFrame(j,:) = [str2double(trialNum)] %read start frame
EndWalkFrame(j,:) = [str2double(trialNum)] %read end frame
StartAndEnd = sum(endframe) to startwalk %add endframe to startwalk
GSRData600 = extract %extract GSR data and add 600 frames
%add data to an array
end
  1 件のコメント
Stephen23
Stephen23 2023 年 1 月 21 日

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by