How can I use plus operation with more than 2 array
이전 댓글 표시
I try to plus with many array. For example plus(A,B,C,D,...Z) with A = [1,2,3:4,1,2] B = [3,5,6,:5,6,7] and so on and I've got this message
"??? Error using ==> plus Too many input arguments."
How can I solve this? Thank you in advance for your answer
채택된 답변
추가 답변 (1개)
David Young
2016년 2월 1일
Either use
A + B + C + D + Z
or
plus(A, plus(B, plus(C, plus(D, Z))))
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!