Plot 2d line from matrix data

14 ビュー (過去 30 日間)
Italy
Italy 2013 年 3 月 6 日
コメント済み: Rozh Al-Mashhdi 2018 年 1 月 7 日
Hey,
I have 2d matrix data (100X2) and I want to plot line from it.
For example: each row is one point, (1,1) = X & (1,2) = Y. From all those 100 points I want to draw a line.
10x,
Itay

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 6 日
編集済み: Azzi Abdelmalek 2013 年 3 月 6 日
plot(A(:,1),A(:,2))
Example
A=[1:100;rand(1,100)]'
plot(A(:,1),A(:,2))
  3 件のコメント
Jan
Jan 2013 年 3 月 6 日
What does "10x" mean?
Rozh Al-Mashhdi
Rozh Al-Mashhdi 2018 年 1 月 7 日
I think 10x is some slang/shorthand for "thanks" (tenx)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by