This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Luigi Sanguigno
on 20 Oct 2012
To compute all possible.. replace b=find(isprime(p2),1,'first'); with b=isprime(p2);
enjoy
Suggested Problems
-
3418 Solvers
-
2767 Solvers
-
2209 Solvers
-
417 Solvers
-
Convert a vector into a number
604 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!