Community Profile


Bosong Lin

Last seen: 1 month ago
3 total contributions since 2018

Bosong Lin's Badges

  • First Review
  • First Answer

View details...

Contributions in
View by

how to convert 2-D array to 1-D array
Hey, Try this. A = [1,2;3,4]; A = A(:);

3 years ago | 0

Generating one random number from a given range of numbers.
Hi Rich, If I understood your question, I would do it this way: 1/3*X*rand()+2/3*X; rand() returns a single uniformly distr...

3 years ago | 0