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
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
Nguyen Alex 2017년 10월 18일
Thanks for your response, Stephen.
Plot or imagine visualization is also OK.
I just wonder can it be done, and how can do it?
Stephen23
Stephen23 2017년 10월 18일
편집: Stephen23 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
Nguyen Alex 2017년 10월 18일
Excuse me,
According to my knowledge, the variables must have relation if you handle with your solution. But my object function as a sum function.
Stephen23
Stephen23 2017년 10월 18일
The relation is your function. It does not matter what kind of function it is.
Nguyen Alex
Nguyen Alex 2017년 10월 18일
Can you show me detail information?
I look for on the internet, some books but it is so complicated.
I am a beginner at Matlab programming.
Stephen23
Stephen23 2017년 10월 18일
@Nguyen Alex: start by reading the MATLAB help for scatter3.
Nguyen Alex
Nguyen Alex 2017년 10월 19일
I read the command "scatter3". But I think this command related to 3D. How can use it for 2D?
Stephen23
Stephen23 2017년 10월 19일
@Nguyen Alex: if you want a 2D scatter plot then use scatter.
Walter Roberson
Walter Roberson 2017년 10월 19일
I see five variables with variable b used twice?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 수치 적분과 수치 미분에 대해 자세히 알아보기

질문:

2017년 10월 18일

댓글:

2017년 10월 19일

Community Treasure Hunt

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

Start Hunting!