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

Home » Public Forums » archive » Newbie question
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: Newbie Question [message #16847 is a reply to message #5968] Mon, 23 August 1999 00:00 Go to previous message
Matthew J. Sheats is currently offline  Matthew J. Sheats
Messages: 19
Registered: September 1997
Junior Member
Dan Fletcher wrote:

> I think this is because the Data[0,*] gives a 1xm array rather than a
> vector of length m. I can't figure out any way to change that 1xm array
> into a vector without a FOR DO loop. Is there some simple way to solve
> this problem?

Ooh. One I can answer. Heh.

Use REFORM(...) to trim off extra dimensions. For Ex:


Coeff=DIGITAL_FILTER(Flow,Fhigh,50,40)
FilteredTestDataSub=CONVOL(REFORM(Data[0,*]),Coeff)

It will strip off that extra 1 dimension. Check out the help for more
info.

> Thanks for any help,
> Dan Fletcher
> UCD Vet Med Class of 2002

Matthew Sheats
Los Alamos National Laboratory and
UCD Computer Science Grad Student, Class of God Only Knows....
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: help with data points of contour.
Next Topic: idl > memory problems

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

Current Time: Sat Oct 11 10:21:13 PDT 2025

Total time taken to generate the page: 0.68336 seconds