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
2020-7-8
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!