Statistica
MATLAB Answers
1 Domanda
0 Risposte
RANK
140.232
of 301.433
REPUTAZIONE
0
CONTRIBUTI
1 Domanda
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 174.520
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Trying to do a Sieve of Eratosthenes question. It's working to an extent where the numbers appear correctly but adds a number after the previous number. For exmaple: 2 then 2, 3, then 2, 3, 5 then 2,3,5,7
n = 101; array = 2:n; ones = []; for i = 1:length(array) if ~ array(i) == 0 for j = i+1: lengt...
quasi 12 anni fa | 1 risposta | 0