How can i add the two numbers specified in field A and B if num.A=2 and num.B=4
조회 수: 4 (최근 30일)
이전 댓글 표시
I am wondering how to add two fields together that are apart of a specified structure, num. Specifically, what command would be used?
댓글 수: 0
채택된 답변
Von Duesenberg
2018년 3월 11일
It's not different from two seperate numeric variables: num.C = num.A + num.B
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!