フィルターのクリア

A for loop type function for setting cell array intervals to zero

2 ビュー (過去 30 日間)
Krispy Scripts
Krispy Scripts 2016 年 8 月 5 日
回答済み: Star Strider 2016 年 8 月 5 日
The answered question here, but putting it a way that can be used for whatever amount of intervals and spk time cells.

採用された回答

Star Strider
Star Strider 2016 年 8 月 5 日
As far as the first plot goes, creating a loop works:
figure(1)
plot([1:size(spk{1},2)], spk{1}, dep(1),spk{1}(dep(1)), 'r^')
hold on
for k1 = 2:size(spk,2)
plot([1:size(spk{k1},2)], spk{k1}, dep(k1),spk{k1}(dep(k1)), 'r^')
end
hold off
grid
Other than that, the code uses the data in your .mat files, and appears to me to be adaptable to their sizes.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by