Effacer les filtres
Effacer les filtres

how to extract some elements in the array using matlab?

3 vues (au cours des 30 derniers jours)
M.S. Khan
M.S. Khan le 3 Déc 2020
Modifié(e) : M.S. Khan le 3 Déc 2020
I have an array vector. i want to extract some elements.
How will i perform. Please help me. Regards for all your coopeartion.
how to extract only the elements which are in the range between 0 and 3.
Slice_z
Slice_z = Slice_z(Slice_z >= 0 && Slice_Z<=3)

Réponse acceptée

Deepak Gupta
Deepak Gupta le 3 Déc 2020
Hello Mr. Khan,
Slice_z = Slice_z(Slice_z >= 0 & Slice_Z<=3)
Should work.
Cheers,
Deepak
  1 commentaire
M.S. Khan
M.S. Khan le 3 Déc 2020
Modifié(e) : M.S. Khan le 3 Déc 2020
Hi Dear Deepak Gupta, thanks for your kind cooperation. Regards

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Colormaps 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