3d and 4d plotting

5 次查看(过去 30 天)
stamos dontas
stamos dontas 2022-1-27
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
Yongjian Feng 2022-1-27
Try this?
  1 个评论
stamos dontas
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!

Translated by