# 3d and 4d plotting

4 vues (au cours des 30 derniers jours)
stamos dontas le 27 Jan 2022
Commenté : stamos dontas le 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
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Réponses (1)

Yongjian Feng le 27 Jan 2022
Try this?
##### 1 commentaireAfficher -1 commentaires plus anciensMasquer -1 commentaires plus anciens
stamos dontas le 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?

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by