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
%%%%%%%%%%%%%%%%%%%%%%
Useful Function => primes, isprime
Solution:
https://github.com/AhmedNazir/MatlabCody/blob/master/goldbach2.m
Remove any row in which a NaN appears
6866 Solvers
Back to basics 11 - Max Integer
680 Solvers
Getting the row and column location from a matrix
244 Solvers
Area of an equilateral triangle
2905 Solvers
364 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!