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;
Back to basics 14 - Keywords
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Find a Pythagorean triple
Matlab Basics - y as a function of x
Back to basics 18 - justification
Back to basics 13 - Input variables
Back to basics 11 - Max Integer
Back to basics 4 - Search Path
Back to basics 26 - Keywords
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