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

Home » Public Forums » archive » Re: Unpacking algorithm
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: Unpacking algorithm [message #39327 is a reply to message #39324] Sat, 15 May 2004 16:00 Go to previous message
Tmorri is currently offline  Tmorri
Messages: 10
Registered: April 2004
Junior Member
one second thought,

Does any one have an algorithm to unpack this vector


v0=[0 x1 x2 x3 0 x4 x5 x1 0 x2 x3 x4 0 x5 x1 x2 0 x3 x4 x5]

in the following way:

v1=[0 0 0 0 0]

v2=[x1 x2 x3 x4 x5 x1 x2 x3 x4 x5 x1 x2 x3 x4 x5]

x1,x2,x3,x4,x5 are variables that can take any value, even zero, (0).

I just want to get rid othe zeroes (every fourth element)shown in vector
v0


Thanks,

Tmorri
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: allocate heap? yes or no?
Next Topic: Re: Unpacking algoritmn

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

Current Time: Sat Oct 11 14:20:44 PDT 2025

Total time taken to generate the page: 0.39931 seconds