How to add two different set values .
1 view (last 30 days)
Show older comments
I ma having two different sets having the values in the following manner
A={4} {5}{3)
I want to add it together by having
B={12}.
I tried with the command B=sumA
But i am getting error.
could anyone please help me to get it
0 Comments
Answers (1)
madhan ravi
on 18 Apr 2019
Edited: madhan ravi
on 18 Apr 2019
A={4,5,3};
B={12};
[A{:}]+[B{:}]
6 Comments
See Also
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!