Adding matric to an empty matric
2 views (last 30 days)
Show older comments
Hello,
I have an empty matrix
em = [];
I also have other matrices x1, x2 and x3;
t = 0:1/32798:0.25-1/32798;
x1 = sin(2*pi*1356*t) + sin(2*pi*297*t);
x2 = sin(2*pi*3336*t) + sin(2*pi*997*t);
x3 = sin(2*pi*2336*t) + sin(2*pi*497*t);
I would like to add x1, x2, and x3 into em.
since x1, x2 and x3 are 1 x 8199. I would like to put x1 in row1, x2 in row 2 and x3 in row 3.
How do I do this?
Thank you.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Resizing and Reshaping Matrices 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!