필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Weronika Ring
Weronika Ring 2019년 5월 12일
댓글: madhan ravi 2019년 5월 12일
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
Image Analyst
Image Analyst 2019년 5월 12일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by