How to copy the last row on matrix that varies with input

91 views (last 30 days)
I'm looking to pull the last row from my matrix, which is dependent and varying based on inputs. How do I call the last row that isn't in a constant row number?

Accepted Answer

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH on 4 Dec 2019
Edited: JESUS DAVID ARIZA ROYETH on 4 Dec 2019
lastrow=matrix(end,:)

More Answers (0)

Categories

Find more on Data Types 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!