introduction to programming with matlab - Vanderbilt University week-6 assignment 3 solutions

nargin

These solutions are for reference only.

It is recommended that you should solve the assignment and quiz by yourself honestly then only it makes sense to complete the course.

but if you cant figure out some part of it than you can refer these solutions

make sure you understand the solution  

dont just copy paste it

-----------------------------------------

function too_young = under_age(age, limit)

    if nargin == 1

        limit = 21;

    end

    too_young = age < limit;

end

main course : https://www.coursera.org/learn/matlab

No comments

darkmode