Given variable g that contains a row vector of any size, assign to variable h the contents of g with the last element removed
2 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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!