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

Home » Public Forums » archive » converting a vector into a string
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
converting a vector into a string [message #45908] Thu, 20 October 2005 12:51
Francois L. is currently offline  Francois L.
Messages: 19
Registered: December 2004
Junior Member
Hello,

Sorry, I am reposting this message again because the previous one contained
many errors in the header...

I have a vector A (integers):
> A = [1,2,3,4]
that I want to convert into a string.

If I use the command
> B = string(A)
then B is a string of four elements.

How can I convert A to string in order to have '1234' ? which is not an
array of four elements...

Well at the end, I want to convert '1234' into the number 1234.

Thank you,

Franois Leduc
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: finding 3rd nearest neighbors in very large data
Next Topic: ENVI

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

Current Time: Wed Oct 08 19:53:26 PDT 2025

Total time taken to generate the page: 0.00471 seconds