Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Weronika Ring
Weronika Ring am 12 Mai 2019
Kommentiert: madhan ravi am 12 Mai 2019
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 Kommentare
Image Analyst
Image Analyst am 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by