Carl J. Schreck, III wrote:
> By contrast, in matlab it would simply be:
>
> outer = a' * b
>
Hmm... It sure seems to me that the following ought to work in NCL (and
get the same answer as my previous posting):
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
begin
a = (/1,2,3,4/)
b = (/5,6,7/)
c = transpose(a) # b
print(c)
end
It does not work. Anyone want to comment as to why?
Andy
-- Andrew W. Mai --- __o National Center for Atmospheric Research ---- _`\<,_ Boulder, CO 80307 USA --- (*)/ (*) http://www.cgd.ucar.edu/cdp/mai/mai.html
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 11 2008 - 08:23:12 MDT
This archive was generated by hypermail 2.2.0 : Fri Sep 12 2008 - 21:42:04 MDT