Effacer les filtres
Effacer les filtres

definition of mask function

2 vues (au cours des 30 derniers jours)
adhi dermawan
adhi dermawan le 16 Déc 2022
Commenté : adhi dermawan le 16 Déc 2022
Dear matlab expert, I got this function
eof_maps = eof(A,'mask',mask);
where A is a 3D matrix e.g 5x3x6. In the documentation, it says only performs EOF analysis on the grid cells represented by ones in a logical mask whose dimensions correspond to dimensions 1 and 2 of A. So I need to replace the varargin 2 with 5*3?

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Déc 2022
The 'mask' input for a 5 x 3 x 6 array for that function should be a 5 x 3 logical array.
  1 commentaire
adhi dermawan
adhi dermawan le 16 Déc 2022
Thank you kind sir

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by