Im using the program scilab and scinotes and I am trying to

I\'m using the program scilab and scinotes and I am trying to write a program to display a vector that consist of 6 random numbers between ranges 50 and 100. How would I do it on scinotes.

Solution

Here is the code for you:

//write a program to display a vector that consist of 6 random numbers between ranges 50 and 100.

randNum = grand(1, \"prm\", 50:100);
randVector = randNum(1:6);
disp(randVector);

I\'m using the program scilab and scinotes and I am trying to write a program to display a vector that consist of 6 random numbers between ranges 50 and 100. Ho

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site