even distribution in Matlab

조회 수: 23 (최근 30일)
Ján Harnas
Ján Harnas 2020년 6월 2일
답변: Ameer Hamza 2020년 6월 2일
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일
y = rescale(rand(1, 1000), 800, 1200)

추가 답변 (0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by