MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Strange experience in evaluating the value of a ma... 

Subject: Strange experience in evaluating the value of a matrix From: Timothy Siahaan Date: 27 Jun, 2013 14:54:07 Message: 1 of 6 
I have a strange experience. 
Subject: Strange experience in evaluating the value of a matrix From: Eric Sampson Date: 27 Jun, 2013 15:26:06 Message: 2 of 6 
"Timothy Siahaan" <timmy_fisika_ugm_99@yahoo.co.id> wrote in message <kqhjmf$a1t$1@newscl01ah.mathworks.com>... 
Subject: Strange experience in evaluating the value of a matrix From: Timothy Siahaan Date: 27 Jun, 2013 16:43:10 Message: 3 of 6 
The question from E. Sampson is "Timothy, I don't exactly understand what you are doing, but I'm curious  why is 'eval' required in either case? What happens if you remove eval() in both cases and try the code again?" 
Subject: Strange experience in evaluating the value of a matrix From: Eric Sampson Date: 27 Jun, 2013 18:14:06 Message: 4 of 6 
"Timothy Siahaan" <timmy_fisika_ugm_99@yahoo.co.id> wrote in message <kqhq2u$rbk$1@newscl01ah.mathworks.com>... 
Subject: Strange experience in evaluating the value of a matrix From: Timothy Siahaan Date: 27 Jun, 2013 18:20:37 Message: 5 of 6 
Actually, before trying 'eval', I also tried 'subs'. They both do the same. 
Subject: Strange experience in evaluating the value of a matrix From: Steven_Lord Date: 28 Jun, 2013 15:24:43 Message: 6 of 6 

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.