Looping a process with 3 data sets
7 ビュー (過去 30 日間)
古いコメントを表示
Previously i have written code to plot data, filter out values outside a specified range and then replot the data. This process works perfectly for one data set. I am now required to run the same process to multiple data sets using a loop. How would i go about this?
clear
clear all
clc
List = uigetfile('*txt','MultiSelect','on')
for i=1:length(List)
load(List{i})
end
1 件のコメント
Rik
2020 年 4 月 2 日
Apart from the unnecessary clear clear all clc it looks like you already have the required structure. How doesn't this work?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!