create square pulse and save it to vector

1 view (last 30 days)
Stella
Stella on 1 Nov 2014
Commented: Stella on 3 Nov 2014
Hello. I want some help. I have a vector 25x1 filled with binary data (1 & 0) and i want to create a square pulse of this. But i don't care that much about creating a plot, i just want a square pulse of these data (i want to use that square pulse to add it in an equation). Can anyone help? Thanks in advance. Hope i made my question kind of clear.
  2 Comments
Harry
Harry on 1 Nov 2014
Your question is not clear. What do you mean by "I want to create a square pulse of this"?
Stella
Stella on 3 Nov 2014
i meant to create a square pulse of the vector 25x1 that i had.

Sign in to comment.

Answers (1)

Stella
Stella on 3 Nov 2014
Thank you for your answer. I apologize for my english. I thought that, as you said, my vector is already a square pulse. What i want to do is to add this square pulse to an equation. I added my vector but i have been told that this is a mistake and that i have to add square pulse and not just a vector in my equation. But i have no idea how to do this.

Categories

Find more on MATLAB 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!