Prev: plp
Next: Fitting Implicit Nonlinear Functions
From: Adriano Verdério on 22 Jun 2010 15:31 Hello, i'm a braziliam master's degree student in applied mathematics. I found different results working with the eval function in versions 7.0 and 7.10 of Matlab, could you explain these differences? I managed to circumvent the problem with small changes in my algorithm, but I wonder what changed. I thank you for your cooperation. Adriano Verdério
From: TideMan on 22 Jun 2010 16:12 On Jun 23, 7:31 am, "Adriano Verdério" <adri...(a)gmail.com> wrote: > Hello, i'm a braziliam master's degree student in applied mathematics. > I found different results working with the eval function in versions 7.0 and 7.10 of Matlab, could you explain these differences? > I managed to circumvent the problem with small changes in my algorithm, but I wonder what changed. I thank you for your cooperation. > > Adriano Verdério You should NOT be using eval. It is an evil function that has no place in a student's repertoire. Learn to avoid the evil eval and you will improve your coding skills immensely.
From: Jan Simon on 23 Jun 2010 12:47 Dear Adriano, > I found different results working with the eval function in versions 7.0 and 7.10 of Matlab, could you explain these differences? > I managed to circumvent the problem ... You forgot to mention any details of "the differences" or "the problem". EVAL can be used for calling any function and can be applied to do each and every dirty trick. I guess, that the change does not concern EVAL, but the called functions. So please be more specific and post the relevant source code lines. Kind regards, Jan
From: Oleg Komarov on 23 Jun 2010 13:41 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hvtdq8$c1v$1(a)fred.mathworks.com>... > Dear Adriano, > > > I found different results working with the eval function in versions 7.0 and 7.10 of Matlab, could you explain these differences? > > I managed to circumvent the problem ... > > You forgot to mention any details of "the differences" or "the problem". EVAL can be used for calling any function and can be applied to do each and every dirty trick. I guess, that the change does not concern EVAL, but the called functions. So please be more specific and post the relevant source code lines. > > Kind regards, Jan eval(['fliplr(char([33,66,65,76,84,65,77,32,102,111,32,101,100,105,'... '115,32,108,105,118,101,32,101,104,116,32,101,99,97,114,98,109,69]))']) Oleg
|
Pages: 1 Prev: plp Next: Fitting Implicit Nonlinear Functions |