Reshaping Nodal Spatial Vectors into 3D Matrices for Countourslice

2 vues (au cours des 30 derniers jours)
Diaa
Diaa le 2 Déc 2014
I have a problem of temperature field across a cubic domain.
My nodes locations are stored in 3 column vectors of x=[x1 x2 ... xn]', y=[y1 y2 ... yn]', z=[z1 z2 ... zn]', while the temperature is saved also in a column vector of Temp=[T1 T2 ... Tn]'.
However, in order to use the countourslice function in Matlab, I found that the input to this function must be 3D matrices.
So I would be grateful, if I know how to reshape my vectors for being used in this function.

Réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by