How creat graphics from differents matrices using a loop?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
These are the matrices. There's more, but I just copied enough to give the ideia
M7 = importdata('D:\documentos\20V\Ag20V15A-60min.txt');
% 15 mA 20V 80 min
M8 = importdata('D:\documentos\20V\Ag20V15A-80min.txt');
% 15 mA 20V 80 min Aberto %
M9 = importdata('D:\documentos\20V\Ag20V15A-80min-Aberto.txt');
% 15 mA 20V 120 min
M10 = importdata('D:\documentos\20V\Ag20V15A-1290min.txt');
% 15 mA 20V 120 min Aberto
M11 = importdata('D:\documentos\20V\Ag20V15A-120min-Aberto.txt');
x = M9(1:2:end,1);
y = M 9(1:2:end,2);
x3 = M10(1:2:end,1);
y3 = M10(1:2:end,2);
x4 = M11(1:2:end,1);
y4 = M11(1:2:end,2);
2 个评论
darova
2019-10-5
Please attach some data so we can experiment
How the final image you expect to see should looks like? Maybe some drawing?
Stephen23
2019-10-6
Numbered variables are a sign that you doing something wrong. Using numbered variables makes accessing your data complex, slow, obfuscated, buggy, and difficult to debug.
You should just use indexing instead (e.g. into aN ND numeric array, a cell array, a table, etc). Indexing is simple, neat, easy to debug, and very efficient.
回答(0 个)
此问题已关闭。
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!