how to create this vector?
Show older comments
i have two vectors X and Y:
X=[0 0 0 1 1 1 1 0 0 1 1 0 0 0 1 1 1 1]
Y=[3 6 5]
i want to creat vector Z
Z=[0 0 0 3 3 3 3 0 0 6 6 0 0 0 5 5 5 5]
4 Comments
benghenia aek
on 30 Jan 2019
Fangjun Jiang
on 30 Jan 2019
You got to provide some logic or background at least, right?
benghenia aek
on 30 Jan 2019
Walter Roberson
on 30 Jan 2019
Accepted Answer
More Answers (0)
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!