Info

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

Problem with function. Can you help? Thanks.

1 回表示 (過去 30 日間)
DJ V
DJ V 2016 年 12 月 1 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Question is withdrawn. Problem solved.

回答 (1 件)

bio lim
bio lim 2016 年 12 月 1 日
I don't understand why there are several if statements with the same condition, e.g.,
if (nargin==2)
counter =0;
end
if nargin ==2
in1 = varargin(1)
in2 = varargin(2)
no = 2
end
You should carefully plan your if statements again, and try to group them as many as possible.

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by