how to list first 50 prime number after 229 in 10 x5 matrix

2 Ansichten (letzte 30 Tage)
nassnnf
nassnnf am 10 Dez. 2020
Kommentiert: Rik am 10 Dez. 2020
help me to find this

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 10 Dez. 2020
a=primes(1000);
b=a(a>229);
c=reshape(b(1:50),10,5)

Kategorien

Mehr zu Discrete Math finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by