Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Is it possible to set all data(n).x = []; without a for cycle?

1 visualizzazione (ultimi 30 giorni)
Mr M.
Mr M. il 30 Ott 2018
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Is it possible to do the following withot a for cycle? for n = 1:N, data(n).x = []; end

Risposte (1)

madhan ravi
madhan ravi il 30 Ott 2018
Modificato: madhan ravi il 30 Ott 2018
data(1:N).x = []; %edited after Stephens comment

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by