I'll take one of these for "spritnf" please...
Your test suite is not a good one; you shouldn't declare asb to be global. Instead, you should just allow the function declaration to contain 'asb', as in:
function x = asb(x)
x = abs(x)
end
And do you _really_ think we should program MATLAB to try to fix your typos? That's a recipe for disaster!
Brett
Create a function handle that reverses the input arguments of another function handle
124 Solvers
288 Solvers
Find perfect placement of non-rotating dominoes (easier)
240 Solvers
Create a random logical vector of N elements of which M are true.
85 Solvers
Calculate the height of an object dropped from the sky
168 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!