[Thread Prev][Thread Next][Index]

ones(m,1)



Hello Ferret Users,

This is probably easy but I couldn't think of a straight forward way to do 
it. I would like to generate a field like the one generated by the 
ONES(M,1) function in Matlab. That is, an Mx1 array (where M is arbitrary, 
but specified) populated entirely by "1.0" (or any other constant value 
for that matter).

thanks, David

-- 
--------------------------------------------------------------------------
  David Darr - ph: (206) 616-4953 - email: darr@ocean.washington.edu
School of Oceanography - Univ. of Washington - Seattle, WA. 98115
--------------------------------------------------------------------------

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement