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

1 visualizzazione (ultimi 30 giorni)
Chris
Chris il 6 Set 2022
Risposto: Star Strider il 6 Set 2022
How can I find numbers>30 in 810*1 matrix?

Risposte (1)

Star Strider
Star Strider il 6 Set 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
.

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by