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)
And do you _really_ think we should program MATLAB to try to fix your typos? That's a recipe for disaster!
Doubling elements in a vector
Is this triangle right-angled?
Graceful Graph: Wichmann Rulers
Unique: Speed Enhancement for uint(8,16,32)
ICFP2021 Hole-In-Wall: Figure Validation
Kaggle: Reverse Game of Life - Periods of Oscillators
Unique: Faster 'rows' for large array of uint8
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office