# 3d and 4d plotting

조회 수: 1 (최근 30일)
stamos dontas . 2022년 1월 27일
댓글: stamos dontas . 2022년 1월 28일
Hello there,
I am having some data stored in column. To be more specific, i have 3 input data and one output data lets say:
%inputs
a= rand(1000)
b=rand(1000)
c=rand(1000)
%output
d=rand(1000)
The input data values vary from -50-500 lets say. How can i plot them in one 3d contour in which each axis will be an intput and a heat map will be the output?(output values 0-1) without having to calculate the 3 variable function more preferably? Is there a way? If not is polyfitn the way to calculate the polyonym that finds the polyonym that lies behind this data set? In this case which is the way of plotting the same 3d contour?
Thank you so much

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

### 답변 (1개)

Yongjian Feng 2022년 1월 27일
Try this?
##### 댓글 수: 1표시 없음숨기기 없음
stamos dontas 2022년 1월 28일
well, my question is a bit different. I would like to know whether there is a way of graphing ths 3d input and 1d output without calculating the polyonym that leis behind. However if there is not and i need to define the function, lets call it f(a,b,c) how can i create a 3d contour with the above data?

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

### 카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!