how to update a matrix for every count

1 view (last 30 days)
chan
chan on 29 Oct 2015
Commented: Walter Roberson on 29 Oct 2015
my matrix is A=[1 2 3 4]
in first count i have updated the values to A=[6 7 8 9]
in second count my value has not been updated to A=[10 11 12 13] instead its coming [6 7 8 9]. its taking the same initial value of A for every count but i want to increment the values taking the updated values. please help

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by