Covering some basic topics I haven't seen elsewhere on Cody.
Given a string, return true if it is a valid MATLAB variable name, but not a MATLAB keyword, false otherwise
'foo' -> true
'while' -> false
I appreciate this series of problems introduce me to new functions in MATLAB. Thanks!
Why is 1foo false?
x = '1foo';
y_correct = false;
Maximum running product for a string of numbers
Return the Fibonacci Sequence
Basic arrays operations.
Rounding off numbers to n decimals
2 b | ~ 2 b
Back to basics 10 - Max Float
Back to basics 23 - Triangular matrix
Back to basics 5 - Clipboard
Back to basics 1 - Saving
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