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;
How long is the longest prime diagonal?
Basic arrays operations.
Create an index-powered vector
Back to basics - mean of corner elements of a matrix
Back to basics 3 - Temp Directory
Number of toolboxes?
2 b | ~ 2 b
Back to basics 21 - Matrix replicating
Back to basics 15 - Benchmark
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