How can I solve this?

Give a vector containing N real-valued random numbers, write an M-file to calculate how many elements are within (-0.25,0.5).
(Note: Test your program using randn(1,512) to generate the input vector whose length is 512.)

回答(1 个)

Star Strider
Star Strider 2020-7-8

0 个投票

See the documentation for lt and its friends.

类别

在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by