Plotting 3D scattered data using CSV

29 views (last 30 days)
Mubarak Alanazi
Mubarak Alanazi on 29 Mar 2022
Edited: Tala on 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?

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!