Write a MATLAB program to simulate the following:

Write a MATLAB program to simulate the following:
1) {𝑈𝑛}={2,1,−1,0,2,3,4,5} . ( Hint ‘stem’ function) [10 Marks]
2) {𝛿𝑛−4}={1 𝑓𝑜𝑟 𝑛=40 𝑓𝑜𝑟 𝑛 ≠0 ( Hint ‘impseq’ function) [15 Marks]
3) {𝑈𝑛−3}={1 𝑓𝑜𝑟 𝑛≥30 𝑓𝑜𝑟 𝑛 <3 ( Hint ‘stepseq’ function) [15 Marks]
4) Solve the difference equation 𝑦(𝑛)−32𝑦(𝑛−1)+12(𝑛−2)=𝑥(𝑛) for 𝑛≥0. Where 𝑦(−1)=4 and 𝑦(−2)=10 , 𝑥(𝑛)=(14)𝑛𝑢(𝑛) . ( Hint ‘filtic’ and ‘filter’ functions) [20 Marks

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by