How to copy the last row on matrix that varies with input
55 views (last 30 days)
Show older comments
new2matlab
on 4 Dec 2019
Edited: JESUS DAVID ARIZA ROYETH
on 4 Dec 2019
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?
0 Comments
Accepted Answer
JESUS DAVID ARIZA ROYETH
on 4 Dec 2019
Edited: JESUS DAVID ARIZA ROYETH
on 4 Dec 2019
lastrow=matrix(end,:)
0 Comments
More Answers (0)
See Also
Categories
Find more on Elementary Math 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!