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

Home » Public Forums » archive » Re: Replicate from [1, 148] to [1000, 148]
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: Replicate from [1, 148] to [1000, 148] [message #30344] Thu, 18 April 2002 18:46 Go to previous message
Wang, Chi-Kuei is currently offline  Wang, Chi-Kuei
Messages: 6
Registered: April 2002
Junior Member
Thank you all.

Chi-Kuei


chi-kuei <cw94@cornell.edu> wrote in message
news:a9nar8$pg7$1@news01.cit.cornell.edu...
> 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
>
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Replicate from [1, 148] to [1000, 148]
Next Topic: Re: Draw a point in 3D graphic object ?

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

Current Time: Sat Oct 11 14:34:14 PDT 2025

Total time taken to generate the page: 1.28189 seconds