Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: convert LSW and MSW to floating point
Date: Sat, 14 Apr 2012 11:56:14 +0000 (UTC)
Organization: Konem Solutions
Lines: 11
Message-ID: <jmboku$nlq$1@newscl01ah.mathworks.com>
References: <jm9d62$hg1$1@newscl01ah.mathworks.com> <jm9m78$rns$1@newscl01ah.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1334404574 24250 172.30.248.45 (14 Apr 2012 11:56:14 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 14 Apr 2012 11:56:14 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:764437


>   Instead of converting to and from binary strings, why not do this:
> 
>  quad_angle = 2^16*val(:,1)+val(:,2);
> 
> Roger Stafford

Thanks Roger.. 
That helped

Vihang