How to create a row vector upto a particular distance with the help of a variable?
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/432223/image.jpeg)
taking n=4 i could add a vector of elements value 7 to a previously defined B.
but when i use second expression for n=4 , error occurs?
Anyone could help?
0 Comments
Answers (0)
See Also
Categories
Find more on Logical 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!