How to read text file and plot scatter plot in matlab

2 visualizzazioni (ultimi 30 giorni)

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 Commenti
Rik
Rik il 10 Gen 2022
Why did you delete the attachment?
I have now made a backup of this thread here.

Accedi per commentare.

Risposta accettata

KSSV
KSSV il 6 Gen 2022
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.

Più risposte (0)

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by