putting zero between sequence

1 view (last 30 days)
reto panda
reto panda on 31 May 2020
Commented: madhan ravi on 31 May 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]

Answers (1)

madhan ravi
madhan ravi on 31 May 2020
y = [x, zeros(1, 92e2 - 74e2)]
  5 Comments
madhan ravi
madhan ravi on 31 May 2020
Huh? Post your answer.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by