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

Home » Public Forums » archive » Re: CSMI of a region
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: CSMI of a region [message #41467] Thu, 28 October 2004 01:00 Go to previous message
Karsten Rodenacker is currently offline  Karsten Rodenacker
Messages: 98
Registered: July 1997
Member
On 27 Oct 2004 18:32:27 -0700, Pravesh <praveshsubramanian@yahoo.com>
wrote:

> Hello Friends:
> Do we have code written in IDL for Cross sectional Moment of Inertia
> of a given region??

Cross sectional moments ? Here is a short calculation of 2-d moments of
order ij
;+
; NAME:
; i_moment
;
function i_moment,im,i,j
dim=double(im)
sdim=size(dim)
x=dindgen(sdim(1))
y=dindgen(sdim(2))
return,total(dim*(x^i#y^j))
end
;-
Maybe that ...
> Can someone give any tips on that...
>
> thanks
> pravesh

Regards

--
Karsten Rodenacker
------------------------------------------------------------ -------- :-)
GSF - Forschungszentrum Institute of Biomathematics and Biometry
D-85758 Oberschleissheim Postfach 11 29
Karsten._R_odenacker@gsf.de | http://ibb.gsf.de/ | DEL _ for reply
http://ibb.gsf.de/homepage/karsten.rodenacker/
Tel: +49 89 31873401 | FAX: ..3369
[Message index]
 
Read Message
Read Message
Previous Topic: context help under Windows
Next Topic: Re: context help under Windows

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

Current Time: Sat Oct 11 10:40:41 PDT 2025

Total time taken to generate the page: 1.52022 seconds