f = @(n) exp(-n/5) .* cos(pi*n/5) .* (n>=0);
assuming
is n>=0.
is n>=0.
i just want to know for either an alternative or why the inline function isnt working with my code. Snippet of code not working:
is n>=0.Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!