Plotting data dependent on three independent variables.

12 ビュー (過去 30 日間)
SM
SM 2024 年 10 月 3 日
回答済み: John D'Errico 2024 年 10 月 3 日
I have a mathematical expression which is dependent on three independent variables. Each of the three variables are one dimensional arrays or row matrices. How to plot the data as a functions of the three variables?

回答 (2 件)

Walter Roberson
Walter Roberson 2024 年 10 月 3 日
Use scatteredInterpolant() to compute a resultant surface with three independent inputs.
Use isosurface() or slice() to plot the output against the three inputs.
You have three independent inputs and one output; this calls for a 4D graph, which is not something that can be easily done, so isosurface() or slice() is your best choice.

John D'Errico
John D'Errico 2024 年 10 月 3 日
Do you have a 4-dimensional holographic monitor? That is, you can plot things in 3-dimensions. You will see a projection into a plane. And typically, if you do so, even then, in order to visualize the thing you plotted, you need to rotate it around for your mind to be able to see it.
But have you ever tried even to look at the projection of a 4-dimensional hypercube, into a plane? Your brain is not built to visualize things in 4-d. The result is you can't see it.
Is there nothing you can do? At best, you can plot iso-surfaces, thus the equivalent of a contour plot, a level surface, but now in 3-d.

カテゴリ

Help Center および File ExchangeScalar Volume Data についてさらに検索

タグ

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by