Path: news.mathworks.com!not-for-mail
From: "maan " <maan_waysi@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: convert logical to string
Date: Mon, 5 Mar 2012 00:10:17 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <jj1099$p2$1@newscl01ah.mathworks.com>
References: <jj0umi$pi4$1@newscl01ah.mathworks.com> <jj0vb4$r99$1@newscl01ah.mathworks.com>
Reply-To: "maan " <maan_waysi@yahoo.com>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1330906217 802 172.30.248.46 (5 Mar 2012 00:10:17 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 5 Mar 2012 00:10:17 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3217265
Xref: news.mathworks.com comp.soft-sys.matlab:759832

"Roger Stafford" wrote in message <jj0vb4$r99$1@newscl01ah.mathworks.com>...
> "maan " <maan_waysi@yahoo.com> wrote in message <jj0umi$pi4$1@newscl01ah.mathworks.com>...
> > A=0 1 1 1 0 1 1 0 ;
> > A is of type logical 
> > i need to convert it to a string , so A will equal 'v'
> - - - - - - - -
>   What do you want the string content to be?  FTTTFTTF, 01110110, or what?  It would be whatever the 'v' array contains that you referred to.
> 
> Roger Stafford

another explain and i hope you  will understand what i want

i need to convert logical vector to string .. so i can take each 8 bits of the logical
 vectors and convert it to it's equevilant of char ..

    
    A=0 1 1 1 0 1 1 0 1 1 0 0 0 0 1 ;
    A is of type logical 
    i need to convert A to a string , so the string will equal = va