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

2 views (last 30 days)
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?

Accepted Answer

Mischa Kim
Mischa Kim on 8 Apr 2015
Omar, use
A(3,3) = A(3,3) + num;

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!