Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to write summation in matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
where J=C OR J=S
SO PL YOU ARE REQ TO WRITE IN MATLAB PROGRAM OF SUMMATION
댓글 수: 2
John D'Errico
2022년 2월 5일
Please stop using Answers as a code writing service. You have been using MATLAB for how long now? And every time you post, youe question is a confusing one like this with no attempt made by you, where you ask someone to write some code for you.
Davide Masiello
2022년 2월 5일
I have to agree with @John D'Errico. And, in any case, the question was too unstructured to even attempt to offer some help.
답변 (1개)
Davide Masiello
2022년 2월 5일
In summary:
- summation of a 1xN array A: sum(A);
- summation of all elements of a MxN array A: sum(A(:)) or sum(A,'all') (the latter works on the newer versions of MatLab only)
I would anyway suggest checking the following documentation
댓글 수: 3
Davide Masiello
2022년 2월 5일
I am sorry, I think that's too little information, you could try to elaborate a bit more.
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!