Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: str2angle bug?

Subject: str2angle bug?

From: Gary

Date: 21 Feb, 2008 15:03:02

Message: 1 of 3

Can anyone reproduce this bug? I'm running R2007b.
It doesn't seem to like 146xxxxW. 145 and 147 are ok though.

str2angle('1470000W')

ans = -147

str2angle('1450000W')

ans = -145

str2angle('1460000W')
??? Error using ==> str2angle at 52
Unrecognized or invalid angle format.

Subject: Re: str2angle bug?

From: Titus

Date: 21 Feb, 2008 15:19:35

Message: 2 of 3


"Gary " <grubin698.nospam@gmail.com> schrieb im Newsbeitrag
news:fpk3r6$pog$1@fred.mathworks.com...
> Can anyone reproduce this bug? I'm running R2007b.
> It doesn't seem to like 146xxxxW. 145 and 147 are ok though.
>
> str2angle('1470000W')
>
> ans = -147
>
> str2angle('1450000W')
>
> ans = -145
>
> str2angle('1460000W')
> ??? Error using ==> str2angle at 52
> Unrecognized or invalid angle format.
>

Hi Gary,

I reported this to our development. My guess is a missing character '6' in
line 182 of str2angle.m.

Titus


Subject: Re: str2angle bug?

From: Gary

Date: 21 Feb, 2008 15:40:19

Message: 3 of 3

"Titus" <titus.edelhofer@mathworks.de> wrote in message
> I reported this to our development. My guess is a missing
character '6' in
> line 182 of str2angle.m.

Thanks. I didn't bother chasing down the error messages to
see where it was coming from - just reproduced the
capability myself.

Gary

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
mapping toolbox Gary 21 Feb, 2008 10:05:07
str2angle Gary 21 Feb, 2008 10:05:07
possible bug Gary 21 Feb, 2008 10:05:07
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics