something problem with diff
古いコメントを表示
Hello!This is my code.
syms x;
m = 5; h = 2*pi*x; q= besseli(5,h); k1 = h.^2-q; k = [m*q.*(h-3).*5 0 ; 0 q.*h-2 ]
a = det(k) pretty(diff(k(x)),x) Then,I got this message:
Invalid indexing or function definition. When defining a function, ensure that the body of the function is a SYM object. When indexing, the input must be numeric, logical or ':'.
What does it mean?
Thanks!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!