Plotting 3D scattered data using CSV

30 visualizzazioni (ultimi 30 giorni)
Mubarak Alanazi
Mubarak Alanazi il 29 Mar 2022
Modificato: Tala il 30 Mar 2022
Hello,
I want to plot the participants' information ( Number of people, Ages , BMI ) of my experiment into a professional 3D plot using MATLAB.
The data showing as below: ( the data is saved in CSV file names "Participants" ):
Please anyone can help me how to do that?

Risposta accettata

Tala
Tala il 29 Mar 2022
T= readmatrix('Participants.csv');
x=T(:,1);
y=T(:,2);
z=T(:,3);
scatter3(x,y,z)
  10 Commenti
Tala
Tala il 30 Mar 2022
Modificato: Tala il 30 Mar 2022
anytime :)

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by