Lesson 5.5: Variable Number of Arguments

preview_player
Показать описание
A video segment from the Coursera MOOC on introductory computer programming with MATLAB by Vanderbilt. Lead instructor: Mike Fitzpatrick.
Рекомендации по теме
Комментарии
Автор

Dear sir. I didn't get this lesson


function [table summa]= multitable(m, n)
if nargin<2
m=n;
end
table = (1:n)'*(1:m);
if nargout==2
summa = sum(table(:));
end

haithamalnasrawi
Автор

what is the fitzle llc contact number?

John