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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0

