putting zero between sequence

2 visualizaciones (últimos 30 días)
reto panda
reto panda el 31 de Mayo de 2020
Comentada: madhan ravi el 31 de Mayo de 2020
I have "x" with length 7400 . I want to put zeros between this sequnce to get "y" with length 9200 . how can I do this?
x=[1:1:7400]

Respuestas (1)

madhan ravi
madhan ravi el 31 de Mayo de 2020
y = [x, zeros(1, 92e2 - 74e2)]
  5 comentarios
reto panda
reto panda el 31 de Mayo de 2020
this is not true. zeros all are together in y.
but Ii found the answer myself
so thanks anyway
madhan ravi
madhan ravi el 31 de Mayo de 2020
Huh? Post your answer.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB 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