Trying to remove all columns that have "_Units"

3 vues (au cours des 30 derniers jours)
ZH
ZH le 17 Juil 2020
Commenté : ZH le 17 Juil 2020
I tried finalnbs(:,strncmp(finalnbs.Properties.VariableNames, '_Units', length('_Units'))) = [];.. did not get much.

Réponse acceptée

madhan ravi
madhan ravi le 17 Juil 2020
Modifié(e) : madhan ravi le 17 Juil 2020
finalnbs(:,contains(finalnbs.Properties.VariableNames, '_Units')) = []

Plus de réponses (0)

Catégories

En savoir plus sur Numeric Types 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