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