Clear Filters
Clear Filters

How to visualise data in 4D or 5D?

30 views (last 30 days)
Mike Buba
Mike Buba on 25 May 2024 at 11:52
Commented: Cris LaPierre on 25 May 2024 at 12:47
I have a pressure drop equation , where parameters a to d are varied independently (e.g., pipe diameter, pipe length, angle bend, another length, etc.).
I have used the nested for loop to calculate the total pressure, and the results are stored in the table with more than 10k combinations.
Is there a way to visualise and represent the data and show how each variable is affecting the final result?
  1 Comment
Torsten
Torsten on 25 May 2024 at 12:19
Edited: Torsten on 25 May 2024 at 12:20
Is there a way to visualise and represent the data and show how each variable is affecting the final result?
If you keep two or at least one of the parameters constant, yes.

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 25 May 2024 at 12:40
See this answer: How to plot 5D in MATLAB
Basically, 3 of the dimensions can be X,Y,Z. Additional dimensions can be represented by marker style, line style, color, etc. For example, scatter3(X,Y,Z,S,C)

Community Treasure Hunt

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

Start Hunting!