Azzera filtri
Azzera filtri

Error using handle.handle/get Invalid or deleted object.

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Image Analyst
Image Analyst il 12 Mag 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?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by