list all 9 integer between -3.5 and 5.5

1 visualización (últimos 30 días)
Kathy Andrews
Kathy Andrews el 29 de Nov. de 2022
Comentada: Voss el 8 de Dic. de 2022
list all 9 integer between -3.5 and 5.5

Respuesta aceptada

David Hill
David Hill el 29 de Nov. de 2022
unique(fix(-3.5:5.5))
ans = 1×9
-3 -2 -1 0 1 2 3 4 5
  1 comentario
John D'Errico
John D'Errico el 29 de Nov. de 2022
@David Hill - please. You know better than to do obvious homework (with no effort made or shown) on this site. It does not help the student, except to create a monster who will now think they can just post their homeworkassignment on Answers with no effort shown. It does not help Answers, since it then convinces other students they too can post their homework.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by