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

83 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH il 4 Dic 2019
Modificato: JESUS DAVID ARIZA ROYETH il 4 Dic 2019
lastrow=matrix(end,:)

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by