Problem 42513. Is it prime?
Given a number, check whether it is prime or not.
If prime output is true, otherwise false.
Solution Stats
Problem Comments
- 
		4 Comments
		    Show
		    1 older comment
		  
		  
		James
    	on 18 Aug 2015
	
	
  	As a heads up, you need to return the strings 'true' or 'false' to meet the criteria of the test suite.
		vaibhav hosur
    	on 24 Aug 2015
	
	
  	Good problem Azhar
		Azhar
    	on 24 Aug 2015
	
	
  	thanks vaibhav, btw its all about exploring commands in matlab.
		vaibhav hosur
    	on 24 Aug 2015
	
	
  	yupp
Solution Comments
Show commentsProblem Recent Solvers148
Suggested Problems
- 
         
         2517 Solvers 
- 
         Create a vector whose elements depend on the previous element 748 Solvers 
- 
         
         637 Solvers 
- 
         
         10830 Solvers 
- 
         
         1865 Solvers 
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!