How to push a variable in a vector in Matlab?
265 views (last 30 days)
Show older comments
Something like this:
A = [1 2 3];
push(A, 4); % Something like Push
% A = [1 2 3 4]
Thanks.
0 Comments
More Answers (1)
Jozef Lukac
on 29 Dec 2020
I have created an immitation of STL vector in Matlab. Check it out. :)
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!