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

1 Ansicht (letzte 30 Tage)
Chris
Chris am 6 Sep. 2022
Beantwortet: Star Strider am 6 Sep. 2022
How can I find numbers>30 in 810*1 matrix?

Antworten (1)

Star Strider
Star Strider am 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
.

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by