Community Profile

photo

Bosong Lin


Last seen: meer dan een jaar ago Active since 2018

Followers: 0   Following: 0

Statistics

  • First Review
  • First Answer

View badges

Feeds

View by

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

ongeveer 6 jaar ago | 0

Answered
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...

ongeveer 6 jaar ago | 0

Answered
Hello, I' m working with netcdf files. I have 4D matrixes of current water velocity. The dimensions are f.e. 359x274x1x24 for a u variable (eastward sea velocity). How can I get the current velocity of one point having the longitude and latitude?
Hi Jose, I think that you need to correctly refer to the points using indices. For the point at 1º13.23'E and 41º4.38'N, what...

ongeveer 6 jaar ago | 0