how to pick element by element
3 views (last 30 days)
Show older comments
A = magic(3)
kindly tell me how i can pick one by one element in same matrix A then do some mathematical operation if it satisfies the condition the element is replaced by new value else it remains the same for example mathematical operation is A + 10, if A+10 is >12 replace other wise remain same as initial value,then second then third..........
thanks
2 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!