Concatenate vectors in cell array { } or matrix [ ] with coordinates
Show older comments
Hello World,
Is it possible to add a vector in a cell array with a specific coordinate and for which each number is an independant cell ?
When I use A{2,2}={4;5} or even A{2,2}=num2cell({4;5}) then I get
A= [] []
[] {2x1 cell}
and it's not what I want. Is there a way to get directly this following schema ? :
A= [] []
[] [4]
[] [5]
I would be curious to see the answer for a matrix [ ] too.
Thank you very much for your help. Dextro
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating 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!