Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

2 次查看(过去 30 天)
Is it possible to do the following withot a for cycle? for n = 1:N, data(n).x = []; end

回答(1 个)

madhan ravi
madhan ravi 2018-10-30
编辑:madhan ravi 2018-10-30
data(1:N).x = []; %edited after Stephens comment

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by