[Thread Prev][Thread Next][Index]

[ferret_users] Define a 2d variable



I have a small region, 3x2 points, that I would like to divide by a 3x2
grid of values that I manually set.  My question is how to create the
grid of values to divide by?  This can either be building the 3x2 array
from scratch or copying the original 3x2 array (using the "LET" command)
and reassigning the values.  In MATLAB it would look like this:

my_vals = [1 2; 3 4; 5 6]
my_div = [2 1; 3 2; 1 2]

my_vals./my_div

Thanks in advance for the help,

jonathan

  



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement