MATLAB Answers

How do I add numbers in a cell to another cell?

조회 수: 4(최근 30일)
Austin Sowers
Austin Sowers 1 May 2019
편집: Austin Sowers 2 May 2019
"R" = random number
A = {[R R X R]}
B = {[R X R X]}
How do I add the X's in cell "B" to the X in cell "A?"
  댓글 수: 7
Austin Sowers
Austin Sowers 2 May 2019
Good question. I will be ignoring the ones on the end for this reason.
and yes. that is correct. exactly

댓글을 달려면 로그인하십시오.


gonzalo Mier
gonzalo Mier 1 May 2019
A{1}(B{1}==X) = B{1}(B{1}==X)
  댓글 수: 3

댓글을 달려면 로그인하십시오.



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by