3d and 4d plotting

5 views (last 30 days)
stamos dontas
stamos dontas on 27 Jan 2022
Commented: stamos dontas on 28 Jan 2022
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

Answers (1)

Yongjian Feng
Yongjian Feng on 27 Jan 2022
Try this?
  1 Comment
stamos dontas
stamos dontas on 28 Jan 2022
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?

Sign in to comment.

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!