How to plot a function with 6 variables?
显示 更早的评论
Hello, everyone.
I have a problem with my lecture what I have studied.
I have a function: 3.95*a + 3*b + 4*b + 1.23*c + 1.95*d + 2.43*e (6 variables) - A linear function.
How can I plot it? Or it can't be plotted.
Thanks a lot.
10 个评论
Stephen23
2017-10-18
@Nguyen Alex: how would you imagine visualizing a 6D space?
If we lived in a 7D+ universe then this would be trivial to answer.
Nguyen Alex
2017-10-18
@Nguyen Alex: you could do a 3D scatter to represent the first two dimensions, with colors, symbols, and symbol size to represent three more dimensions. Then make multiple frames to visualize the last dimension.
It would be reasonable bit of work, and of dubious value for interpreting.
Nguyen Alex
2017-10-18
Stephen23
2017-10-18
The relation is your function. It does not matter what kind of function it is.
Nguyen Alex
2017-10-18
Stephen23
2017-10-18
@Nguyen Alex: start by reading the MATLAB help for scatter3.
Nguyen Alex
2017-10-19
Stephen23
2017-10-19
@Nguyen Alex: if you want a 2D scatter plot then use scatter.
Walter Roberson
2017-10-19
I see five variables with variable b used twice?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 수치 적분과 수치 미분 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!