HI guys , need help here… Figure 1 is my csv data….Why only one set of data (the first set) was plotted in figure 2?
My codes:
fid = fopen('V.csv');readData=textscan (fid,'%f %f','Headerlines',1,'Delimiter',',');Xdata=readData{1,1}(:,1);Ydata=readData{1,2}(:,1);f1=figure(1);cla;hold on;grid on;%P = InterX([Xdata;Ydata],[X1data;Y1data]);
% plot(Xdata,Ydata,X1data,Y1data,P(1,:),P(2,:),'ro')
plot(Xdata,Ydata,'k-','marker','o')
Best Answer