If I have a matrix A that is 3x3 and I want to add a number to element A(3,3) only, how can I do that?

 채택된 답변

Mischa Kim
Mischa Kim 2015년 4월 8일
Omar, use
A(3,3) = A(3,3) + num;

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

2015년 4월 8일

댓글:

2015년 4월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by