Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how can i generate??

1 visualización (últimos 30 días)
mukim
mukim el 17 de En. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
if i=1:3 is equal, i=[1 2 3]
then how can i generate this...
output sample, i=[1 2 3 7 8 9 13 14 15 16]

Respuestas (2)

Matt J
Matt J el 17 de En. de 2013
i=[1:3,7:9,13:16]
  2 comentarios
Matt J
Matt J el 17 de En. de 2013
mukim Commented:
how can i will be able to generate this type of loop??
for i=1:3, 7:9
%%statement
end
Matt J
Matt J el 17 de En. de 2013
for i=[1:3, 7:9]
%%statement
end

mukim
mukim el 17 de En. de 2013
how can i will be able to generate this type of loop??
for i=1:3, 7:9
%%statement
end

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by