Nested Functions
Nested functions are functions within the main function.
function x=outer(a)
b = 2
function y=inner(a)
y=a*b
end
inner(a)+b
end
Nested functions are functions within the main function.
function x=outer(a)
b = 2
function y=inner(a)
y=a*b
end
inner(a)+b
end