Generate data at one point

How i genrate date at one point only ! i used random genration and the date sparated on the whole range ! how i can put them all for eample at point 50 ?
a1 = 2000; b1 = 9000;
S= (b1-a1).*rand(163,1) + a1;.

Answers (0)

This question is closed.

Products

Asked:

on 8 Apr 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!