How to replace an integer in a vector with another vector?
2 views (last 30 days)
Show older comments
Daniel Jonnakuti
on 7 Aug 2015
Commented: Daniel Jonnakuti
on 7 Aug 2015
How can you replace a single element in a vector with a vector? I tried using logical indexing but it says "In an assignment A(I) = B, the number of elements in B and I must be the same." Kindly help.Thanks in advance.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!