Borrar filtros
Borrar filtros

Help! i'm new

1 visualización (últimos 30 días)
nguyễn gia bảo
nguyễn gia bảo el 18 de Mzo. de 2019
Comentada: KSSV el 18 de Mzo. de 2019
hi guy, i'm a newbie and havent know a lot about Matlab yet. i'm having trouble with a question which i have to display the phrase here we go loop the loop 6 times using for-loop and diplay command, can you guys help me out, please

Respuestas (1)

KSSV
KSSV el 18 de Mzo. de 2019
Read about fprintf
for i = 1:6
fprintf('Here we go the loop %d\n',i)
end
  2 comentarios
madhan ravi
madhan ravi el 18 de Mzo. de 2019
Editada: madhan ravi el 18 de Mzo. de 2019
No loop is needed for this trivial task and obviously this is homework.
KSSV
KSSV el 18 de Mzo. de 2019
He is a new bee....

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by