How can I solve this?
Show older comments
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.)
Answers (1)
Star Strider
on 8 Jul 2020
0 votes
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!