-
4 Comments
Show
1 older comment
Neural Nomad
on 8 May 2012
why does this work, but simply having the vector [0.25; 0.05; 0.1; 0.01] does not?
Naveen Gowdayyanadoddi
on 10 Jul 2012
Any ans for Neural Nomad's question. Pls give some reasoning.
Cris Luengo
on 14 Jul 2012
str2num evaluates to that vector, so just putting in the vector works also. But Cody just thinks that this code is "shorter": evaluating a function with one argument is less nodes than concatenating 4 values.
Temel
on 23 Mar 2013
Although I appreciate the effort, "size" calculation is B.S. It should calculate time it takes to run the function.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!