fin=fopen('BJI_E.dat');
data=textscan(fin,'%f %f','r');
fclose(fin);
t =data{1} %waktu (sekon)
x =data{2} %amplitudo
N = length(t)
---------------------------------------
lalu di command window
>> N
>> plot(t,x)
data=textscan(fin,'%f %f','r');
fclose(fin);
t =data{1} %waktu (sekon)
x =data{2} %amplitudo
N = length(t)
---------------------------------------
lalu di command window
>> N
>> plot(t,x)
0 komentar:
Posting Komentar