How can I apply summation to one element of a matrix?

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 日

0 投票

Omar, use
A(3,3) = A(3,3) + num;

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAerospace Blockset についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by