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

Home » Public Forums » archive » Re: confused multiplying arrays
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: confused multiplying arrays [message #73479 is a reply to message #73478] Thu, 11 November 2010 13:41 Go to previous messageGo to previous message
paulartcoelho is currently offline  paulartcoelho
Messages: 30
Registered: March 2007
Member
On Nov 11, 7:33 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
> If I understand it right, you want total_flux to be a 112864-element
> array, where each is the sum of all 2000 elements in the corresponding
> line of fluxes, weighted by area.

absolutely right.

> total_flux=total(rebin(area,100,112864)*fluxes,1)

hmmm...
why the '100' in rebin(area,100,112864) ?

p.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Another issue with the garbage collector?
Next Topic: Re: Write a vector into a file

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

Current Time: Fri Oct 10 08:37:32 PDT 2025

Total time taken to generate the page: 0.94567 seconds