Hi,how can I generate 1000 numbers distributed evenly between 800 and 1200? Please another function as linspace. Thanks for your help.

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 6월 2일

1 개 추천

y = rescale(rand(1, 1000), 800, 1200)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Random Number Generation에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2020년 6월 2일

답변:

2020년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by