Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Problem with function. Can you help? Thanks.

1 visualización (últimos 30 días)
DJ V
DJ V el 1 de Dic. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Question is withdrawn. Problem solved.

Respuestas (1)

bio lim
bio lim el 1 de Dic. de 2016
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.

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by