Feeds
답변 있음
Keep only one set-cordinate (x,y) per x.
xy=[1 2; 1 3; 1 3; 2 4; 2 4; 2 6; 3 7; 3 8; 5 6; 5 8]; [~,ind] = unique(xy(:,1)) xy(ind,:)
Keep only one set-cordinate (x,y) per x.
xy=[1 2; 1 3; 1 3; 2 4; 2 4; 2 6; 3 7; 3 8; 5 6; 5 8]; [~,ind] = unique(xy(:,1)) xy(ind,:)
거의 7년 전 | 0
| 수락됨
질문
Keep only one set-cordinate (x,y) per x.
I have: x y 1 2 < 1 3 1 3 2 4 < 2 4 2 6 3 7 < 3 8 5 6 < 5 8 I want to keep: x y 1 2 2 4 3 7 5 6 How to do...
거의 7년 전 | 답변 수: 2 | 0
2
답변질문
Convert datenum to datetime for multiple holded plots
My code: h1 = plot(handles.x_datenum,handles.y,'.b'); hold on; h2 = plot(ffitresult) hold off; X axis is datenum*10^9 bec...
거의 7년 전 | 답변 수: 1 | 0
