Viewing three dimensional matrix

3 vues (au cours des 30 derniers jours)
alpedhuez
alpedhuez le 31 Mar 2018
Commenté : Rik le 9 Avr 2018
Suppose I have a 3D matrix A(i,j,k). Suppose I want to view a 2 matrix A(1,:,:). Please advise.

Réponses (1)

Rik
Rik le 31 Mar 2018
Something like this maybe?
imshow(squeeze(A(1,:,:)))
imshow might even be smart enough not to need squeeze.
  2 commentaires
alpedhuez
alpedhuez le 31 Mar 2018
Let me work on it.
Rik
Rik le 9 Avr 2018
Was this what you meant? Did it work?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by