Path: news.mathworks.com!not-for-mail
From: "Ketan " <useless.id@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Error using mnrfit
Date: Fri, 20 Jun 2008 21:22:01 +0000 (UTC)
Organization: ABB Corporate Research Ltd
Lines: 19
Message-ID: <g3h71p$615$1@fred.mathworks.com>
Reply-To: "Ketan " <useless.id@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213996921 6181 172.30.248.35 (20 Jun 2008 21:22:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 20 Jun 2008 21:22:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 926436
Xref: news.mathworks.com comp.soft-sys.matlab:475081



Hello,

I am getting the following error while using mnrfit. 

====ERROR====
??? Error using ===> mnrfit
Inputs to mnrfit must be floats, namely single or double.

Error in ==> mnrfit at 125
dataClass = superiorfloat(x,y);
====ERROR====

The variable x is double. I tried type casting it by 
x=single(x); but the error persists. 

Any help will be much appreciated.

Regards,