in my program, i retrieve .csv data using load, but why is there an error when retrieving the data? . anyone can help me?
이전 댓글 표시
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
Mathieu NOE
2021년 6월 9일
hello
how does the csv looks like ?
insteadd of load, use readtable , readcell, readmatrix or importdata
Ofan Setya Rahayu
2021년 6월 9일
답변 (1개)
Mathieu NOE
2021년 6월 10일
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
Mathieu NOE
2021년 7월 8일
hello
so far , so good ?
카테고리
도움말 센터 및 File Exchange에서 JSON Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!