How to read text file and plot scatter plot in matlab

6 次查看(过去 30 天)
此 个问题 已被 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.

请先登录,再进行评论。

采纳的回答

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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by