For some reason the 'nthprime' function is not recognized, however it works for me in my desktop MATLAB.
@Dima Panna 'nthprime' uses symbolic math toolbox which is not supported in cody
Word Counting and Indexing
Who knows the last digit of pi?
Getting the row and column location from a matrix
Sum the Digits of a Number
Find state names that start with the letter N
Find state names that end with the letter A
Given two strings, find the maximum overlap
Tic Tac Toe FTW
Remove any row in which a NaN appears
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