![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251585/CEE86801-5B6C-4B55-BFC8-A55D70705A43.png)
Can anyone confirm whether this code will work on matlab online?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ramith Hettiarachchi
el 30 de Nov. de 2019
Comentada: Ramith Hettiarachchi
el 30 de Nov. de 2019
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)
0 comentarios
Respuesta aceptada
Joe Vinciguerra
el 30 de Nov. de 2019
Editada: Joe Vinciguerra
el 30 de Nov. de 2019
This is from ios.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251585/CEE86801-5B6C-4B55-BFC8-A55D70705A43.png)
Más respuestas (0)
Comunidades de usuarios
Más respuestas en Distance Learning Community
Ver también
Categorías
Más información sobre Platform and License en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!