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

Home » Public Forums » archive » Replicate from [1, 148] to [1000, 148]
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Replicate from [1, 148] to [1000, 148] [message #30348] Thu, 18 April 2002 13:37
Wang, Chi-Kuei is currently offline  Wang, Chi-Kuei
Messages: 6
Registered: April 2002
Junior Member
Hi all,

I have a [1000,148] matrix. Each column is a data stream and needs to be
subtracted by a [1,148] matrix. Since I can't find a way to do it in one IDL
line, i.e.,

[1000,148]-[1,148]

I have to do it this way:

[1000,148] - replicate([1,148], 1000)

However, the replicate won't do the job. Right now I am doing this by a
loop. This really slows the procedure down. Is there any better way to do
it?

Thanks,

Chi-Kuei
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: off-white background in IDL-generated bitmaps
Next Topic: Re: Replicate from [1, 148] to [1000, 148]

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

Current Time: Mon Oct 13 13:34:53 PDT 2025

Total time taken to generate the page: 4.24088 seconds