Azzera filtri
Azzera filtri

Given variable g that contains a row vector of any size, assign to variable h the contents of g with the last element removed

1 visualizzazione (ultimi 30 giorni)
please help, thank you

Risposte (1)

Murali Krishna
Murali Krishna il 5 Giu 2015
Modificato: Murali Krishna il 5 Giu 2015
try this...
h=g(1:(length(g)-1));

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by