Path: news.mathworks.com!not-for-mail
From: "Srikrishna Mahadevan" <krishna086@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: adding scalar to a vector in matlab
Date: Fri, 3 Feb 2012 02:42:17 +0000 (UTC)
Organization: UCF
Lines: 10
Message-ID: <jgfhi9$2dd$1@newscl01ah.mathworks.com>
Reply-To: "Srikrishna Mahadevan" <krishna086@gmail.com>
NNTP-Posting-Host: www-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1328236937 2477 172.30.248.47 (3 Feb 2012 02:42:17 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 3 Feb 2012 02:42:17 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3028671
Xref: news.mathworks.com comp.soft-sys.matlab:756582

Hi,

I am trying to offset my vector by a real number; but for some reason matlab makes it a decimal number when the offset is ~1000; Does anyone know why is this happening and how I can overcome it?

Actually the added number is being converted to a decimal number.

Please respond asap.

Thanks.
Sri