comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Avoid loop in matrix operation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Avoid loop in matrix operation [message #49224 is a reply to message #49223] Thu, 06 July 2006 03:56 Go to previous messageGo to previous message
L. Testut is currently offline  L. Testut
Messages: 16
Registered: January 2006
Junior Member
greg michael wrote:
> How about:
>
> mean_topo=total(H,3)/(size(H))[3]
>
> regards,
> Greg

Thanks Greg,
That exactly what I want for this case. But in a case where the
function is not as simple as the MEAN function. Let's say that I want
to compute the curvature of the DEM, with my own function CURV(H), is
it possible to make it as simple as for the mean ?

curvature=curv(H)


...hum maybe my question is stupid ! it depends on the way I write my
function ?

Thanks again,
Cheers
Laurent
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IVolume/isosurface
Next Topic: Re: How can I display truecolor image on a map?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:30:56 PDT 2025

Total time taken to generate the page: 0.47877 seconds