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

1 次查看(过去 30 天)
How can I find numbers>30 in 810*1 matrix?

回答(1 个)

Star Strider
Star Strider 2022-9-6
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
.

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by