There are plenty of algorithms out there, what prevents you from using one of those? Or, are you wanting us to write the MATLAB code for you?Need to write a matlab program that will find all prime numbers between 2 and 5000 but I can't use any built in matlab functions. Please help. It also has to run quickly.
You know how to make MATLAB functions, no?Having trouble not using matlab built-in functions. Just need help getting started.
This site is not meant for sharing homework answers, it is, however, for educational purposes. If you'd like to start your own thread and post what you came up with, we'd be glad to take a look at it for you...Hi! I am having to do this same project and I was just wondering if you ever figured out a code that worked? I have been working on it for hours now and I started one but it ran forever and isn't right. I would greatly appreciate it!