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

2 visualizaciones (últimos 30 días)
nassnnf
nassnnf el 10 de Dic. de 2020
Comentada: Rik el 10 de Dic. de 2020
help me to find this

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 10 de Dic. de 2020
a=primes(1000);
b=a(a>229);
c=reshape(b(1:50),10,5)
  1 comentario
Rik
Rik el 10 de Dic. de 2020
I think I've seen this exact homework question earlier this week.

Iniciar sesión para comentar.

Categorías

Más información sobre Discrete Math en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by