Error using handle.handle/get Invalid or deleted object.
Afficher commentaires plus anciens
I'm trying to find coordinates A and B for a transfer function G. However, when I input this
clear, clc
B = 0.0160952381;
v = 0.75;
l = 100;
wc = 0.008;
s = tf('s');
w = 0.001:0.001:1;
s = w.*i;
Psi = ((s.^2+2.*s.*B)./v.^2).^(1/2);
G = B ./ (coth(Psi.*l).*(Psi.*l).*v./l+(s+B));
nr = get(G,'num');
A = nr{:};
nr = get(G,'den');
B = nr{:};
all I get is this error:
Error using handle.handle/get
Invalid or deleted object.
Error in untitled (line 17)
nr = get(G,'num');
What am I doing wrong?
4 commentaires
Image Analyst
le 12 Mai 2019
What are you expecting to do with the get() function?
Weronika Ring
le 12 Mai 2019
Modifié(e) : Weronika Ring
le 12 Mai 2019
Image Analyst
le 12 Mai 2019
What toolbox is get() and tf() in? I don't have them. Isn't G an array of numbers? Or is it a symbolic thing?
madhan ravi
le 12 Mai 2019
Replying to the comment [https://in.mathworks.com/matlabcentral/answers/461624-error-using-handle-handle-get-invalid-or-deleted-object#comment_704372 ]:
See attached file
Réponses (0)
Catégories
En savoir plus sur Common Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!