in my program, i retrieve .csv data using load, but why is there an error when retrieving the data? . anyone can help me?
Mostra commenti meno recenti
File1 = load('D:\OFAN SETYA RAHAYU\STMKG\30cm\random3.csv');
a=File1(:,1);
x=File1(:,2);
xq=min(x):0.075:max(x);
a = a-mean(a);
adet = detrend(a);
2 Commenti
Mathieu NOE
il 9 Giu 2021
hello
how does the csv looks like ?
insteadd of load, use readtable , readcell, readmatrix or importdata
Ofan Setya Rahayu
il 9 Giu 2021
Risposte (1)
Mathieu NOE
il 10 Giu 2021
hello again
it worked fine with readtable , here I simply plot the first variable of the table and it's min value
T = readtable('random3.csv');
x = T.Var1;
plot(x);
[val,ind] = min(x);
hold on , plot(ind,val,'rd');


1 Commento
Mathieu NOE
il 8 Lug 2021
hello
so far , so good ?
Categorie
Scopri di più su JSON Format in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!