Produce the following matrix
x = [2 3 4]
[1 1/2 1/3;
2 1 1/4;
3 4 1];
Find the longest sequence of 1's in a binary sequence.
The Goldbach Conjecture
give nth decimal place of pi
Increment a number, given its digits
Replicate elements in vectors
Low level NaN
Duration of a trip in minutes
'5*3' copy character 3 - five times
Bridge and Torch Problem - Length of Unique Time List
replace nan values iteratively.
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