Community Profile

photo

Bosong Lin


Last seen: plus d'un an il y a Actif depuis 2018

Statistiques

  • First Review
  • First Answer

Afficher les badges

Content Feed

Afficher par

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

presque 6 ans il y a | 0

A répondu
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...

presque 6 ans il y a | 0

A répondu
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...

presque 6 ans il y a | 0