How to read text file and plot scatter plot in matlab

5 ビュー (過去 30 日間)
hammad younas
hammad younas 2022 年 1 月 6 日
コメント済み: hammad younas 2022 年 1 月 10 日
この 質問 は Rik さんによってフラグが設定されました

i have a dataset in text file i want to read and plot scatter plot in matlab
How can i do that
i have attached my text file

  4 件のコメント
Rik
Rik 2022 年 1 月 10 日
Why did you delete the attachment?
I have now made a backup of this thread here.
hammad younas
hammad younas 2022 年 1 月 10 日
because my problem is solved

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

採用された回答

KSSV
KSSV 2022 年 1 月 6 日
To load the data into MATLAB workspace read about load, readmatrix, importdata. You can use any of these function.
Your text file has a matrix, you cannot plot it as a scatter plot. You can use pcolor, read about it.
  2 件のコメント
hammad younas
hammad younas 2022 年 1 月 6 日
KSSV Can you please share some code?
Rik
Rik 2022 年 1 月 6 日
Type this in your command window:
doc readmatrix

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by