Feeds
提问
How to store values in memory for MATLAB, List of Primes
I have written a code for extracting prime numbers, from 1 to sqrt(n) (included below). Now, I'm being asked to do something I d...
4 years 前 | 0 个回答 | 0
0
个回答提问
Matlab code for finding prime numbers
I wrote a code for the sieve of erasthosenes (a way to find and arrange all the prime numbers before a user-defined value, "n", ...
4 years 前 | 0 个回答 | 0
0
个回答提问
Matlab code for Eratosthenes
I wrote a code for the sieve of Eratosthenes, but the grader was not satisfied with my code. I'm not sure what I did wrong to hi...
4 years 前 | 1 个回答 | 0
1
个回答提问
Sieve of prime numbers MATLAB
function p = prime_seive(n) p = [0 2:n]; for k = 2:sqrt(n) if p(k) p(k^2:k:n) = 0; end end p = p(p ~= 0);...
4 years 前 | 0 个回答 | 0
0
个回答提问
DIfferential equations and Matlab
This is a long one; sorry! I have written an Euler's code which works. Now I just have to use it to solve an equation. Here ar...
5 years 前 | 1 个回答 | 0
1
个回答提问
Improved Euler's method
Hello! I am working on a code I tried to run last year for Euler's improved method, which uses the height of a trapezoid to find...
5 years 前 | 0 个回答 | 0
0
个回答提问
Matlab Bisection Algorithm code
% I'm trying to create a proper bisection code, and would like some advice on whether this code will... %run properly. I am not...
5 years 前 | 1 个回答 | 0

