Unit step function program
显示 更早的评论
How to write a program code for u(n)-u(n-1) with explanation?
3 个评论
Ameer Hamza
2020-3-18
What does your question have to do with the unit step function? Give more details of what you are trying to do.
Vanish Waghela
2020-3-18
Geoff Hayes
2020-3-18
Vanish - is this homework? What have you tried so far?
回答(1 个)
Sajeer Modavan
2020-3-18
u = @(x) (2*x+4); % u = @(variable) (equation)
u(4)-u(4-1)
3 个评论
Sajeer Modavan
2020-3-19
did this help you
vanshika waghela
2020-3-19
I also need to show the graph of this!!
vanshika waghela
2020-3-20
write a matlab program for u(n)+u(n-1) and verify how matlab reacts to it?
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!