[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More New Functions: findfigs.m, isfloat.m, genvarname.m
From: |
John W. Eaton |
Subject: |
Re: More New Functions: findfigs.m, isfloat.m, genvarname.m |
Date: |
Thu, 27 Mar 2008 15:00:15 -0400 |
On 15-Mar-2008, Bill Denney wrote:
| Robert Platt wrote:
| > Sorry for not replying sooner, I was away on a course.
| >
| > The version submitted by Bill assumes that the input strings are already
| > valid. e.g.:
| >
| > genvarname('4example', '4example')
| > ==> 4example1 --- invalid variable name
| >
| > compared this to '_4example', which is generated by the other version.
| >
| > Guaranteeing the variable names generated is an important feature of the
| > Matlab genvarname function. Are you happy to submit the other version of
| > genvarname, Bill?
| >
| > Rob
| Hi Rob and John,
|
| Rob, your version of genvarname.m will be significantly slower due to
| the use of sub-functions and regexp. I incorporated all the features of
| your version (and your tests and documentation) into the version I
| created. What do you think of the attached version?
|
| Have a good day,
I applied this changeset.
Thanks,
jwe
Re: Q: Low hanging fruit?, Bill Denney, 2008/03/25
More New Functions: findfigs.m, isfloat.m, genvarname.m, John W. Eaton, 2008/03/10
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m, Robert Platt, 2008/03/13
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m, Bill Denney, 2008/03/15
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m, Robert Platt, 2008/03/17
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m,
John W. Eaton <=