Error using handle.handle/get Invalid or deleted object.
Show older comments
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 Comments
Image Analyst
on 12 May 2019
What are you expecting to do with the get() function?
Weronika Ring
on 12 May 2019
Edited: Weronika Ring
on 12 May 2019
Image Analyst
on 12 May 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
on 12 May 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
Answers (0)
Categories
Find more on Common Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!