Dima Panna - MATLAB Cody - MATLAB Central

Dima Panna

3894
Rank
5
Badges
1030
Score
1 – 50 of 128

Dima Panna submitted a Comment to Problem 51. Find the two most distant points

Please add the next test : p = [0,0; 2,1; 2,6; 1,6]; ix_correct = [1 3]; assert(isequal(mostDistant(p),ix_correct)) The solutions of the form: [~,indx]=max(dist(p')); unique(indx) will fail, the last line will return an extra index [1,3,4] instead of just [1,3]

on 3 Jun 2019

Dima Panna submitted a Comment to Problem 64. The Goldbach Conjecture, Part 2

For some reason the 'nthprime' function is not recognized, however it works for me in my desktop MATLAB.

on 1 Jun 2019

1 – 50 of 128
Go to top of page