フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

the programm ignores my 'if' condition

1 回表示 (過去 30 日間)
chaim giladi
chaim giladi 2020 年 6 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi everyone.
I can't understand why the inner 'if' loop here doesn't work. I get 'Array indices must be positive integers or logical values' message, although it's supposed to act only if the index is >0:
for p=1;
for o=[0:17449];
if ~isempty(sequences{1}{20+30*(o)}(human_PRE_perm_or_not{o+1,p}{:}-5))
if (human_PRE_perm_or_not{o+1,p}{:}-5)>0
base_minus5_human{o+1, p}=sequences{1}{20+30*(o)}(human_PRE_perm_or_not{o+1,p}{:}-5);
end
end
end
end
thanks in advance.
  1 件のコメント
chaim giladi
chaim giladi 2020 年 6 月 8 日
oh, I got it...
of course :)

回答 (0 件)

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by