- #1
quasarLie
- 51
- 0
Hello,
i need help with my code please , i have a file named 'bic' which contain only 2 columns . I want to plot this two columns.
And i have this error
struct contents reference from a non-struct array object.
A sample of my columns
20.88 20.391
19.624 19.661
19.218 19.313
20.158 19.689
20.759 20.348
20.30 19.789
20.666 20.813
19.927 19.696
21.139 20.162
20.39 20.568
20.386 20.552
21.112 21.096
20.13 20.193
19.497 19.354
20.851 20.795
19.505 19.534
20.253 20.634
20.555 20.176
20.94 21.022
20.495 20.101
20.748 20.499
19.6 18.691
20.377 20.026
20.017 19.610
Thanks
i need help with my code please , i have a file named 'bic' which contain only 2 columns . I want to plot this two columns.
Matlab:
Data=importdata('bic.dat');
g=Data.data(:,2)
r=Data.data(:,1);
delta=r-g;
plot(r,delta,'b*');
struct contents reference from a non-struct array object.
A sample of my columns
20.88 20.391
19.624 19.661
19.218 19.313
20.158 19.689
20.759 20.348
20.30 19.789
20.666 20.813
19.927 19.696
21.139 20.162
20.39 20.568
20.386 20.552
21.112 21.096
20.13 20.193
19.497 19.354
20.851 20.795
19.505 19.534
20.253 20.634
20.555 20.176
20.94 21.022
20.495 20.101
20.748 20.499
19.6 18.691
20.377 20.026
20.017 19.610
Thanks