Can anyone confirm whether this code will work on matlab online?

I'm planning to buy a student license.
So can you please confirm whether this code will work on matlab online? So that after I purchase there won't be any issue
(unable to download and run matlab at the moment. That's why I'm going to use it online)
syms n;
f = (1/2)^n + (-1/3)^n;
F = ztrans(f)
F2 = collect(F)
[num,den] = numden(F2);
Ts = 0.1; % Sampling period
H = tf(sym2poly(num),sym2poly(den),Ts)
pzmap(H)

More Answers (0)

Communities

More Answers in the  Distance Learning Community

Categories

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!