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;
Replace NaNs with the number that appears to its left in the row.
Sophie Germain prime
Fahrenheit to Celsius converter
Vectors counting by 2
Back to basics 1 - Saving
Bottles of beer
Back to basics 21 - Matrix replicating
Back to basics 11 - Max Integer
Back to basics 14 - 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