Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Matlab の配列とポイントにデータ セットがあります。
以前のデータに対して新しい点がどこにあるかを確認したいと思います。
私は現在、以下を使用して配列をプロットしています:
PreviousPoints=sort(PreviousPoints); plot(PreviousPoints);
その出力は、ポイントを追加して表示したいグラフです。
何か方法があれば教えてください
plot(1:length(PreviousPoints), PreviousPoints, newx, newy)
また
plot(PreviousPoints) hold on plot(newPt) hold off
(hold onあなたがそれを回すまで、お互いの上に物事をプロットし続けますoff)
hold on
off