Effacer les filtres
Effacer les filtres

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 vue (au cours des 30 derniers jours)
please help, thank you

Réponses (1)

Murali Krishna
Murali Krishna le 5 Juin 2015
Modifié(e) : Murali Krishna le 5 Juin 2015
try this...
h=g(1:(length(g)-1));

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by