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;
Remove all the consonants
Extract leading non-zero digit
Make one big string out of two smaller strings
Divisors of an integer
How many jokers?
Back to basics 8 - Matrix Diagonals
Back to basics 4 - Search Path
Back to basics 19 - character types
Back to basics 16 - byte order
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