Given variable g that contains a row vector of any size, assign to variable h the contents of g with the last element removed
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
please help, thank you
0 Kommentare
Antworten (1)
Murali Krishna
am 5 Jun. 2015
Bearbeitet: Murali Krishna
am 5 Jun. 2015
try this...
h=g(1:(length(g)-1));
Siehe auch
Kategorien
Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!