How can I find numbers>30 in 810*1 matrix?

1 vue (au cours des 30 derniers jours)
Chris
Chris le 6 Sep 2022
How can I find numbers>30 in 810*1 matrix?

Réponses (1)

Star Strider
Star Strider le 6 Sep 2022
This is similar to the approach with the months —
V = randi(50, 10, 1)
V = 10×1
41 19 18 21 31 40 33 35 38 8
Vgt30 = V(V>30)
Vgt30 = 6×1
41 31 40 33 35 38
.

Catégories

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