How can i use Inverse for symbolic variables?

5 ビュー (過去 30 日間)
masoud jiryaei
masoud jiryaei 2019 年 8 月 23 日
回答済み: Alex Mcaulley 2019 年 8 月 23 日
for example : I have this 2-by-2 matrix : [A] = [ a*(x^2) , b(y^3) ; d*(x^2)*y , c ].
and I want to get inverse of the [A].
Is it possible?

採用された回答

Alex Mcaulley
Alex Mcaulley 2019 年 8 月 23 日
syms x y a b c d
A = [ a*(x^2) , b*(y^3) ; d*(x^2)*y , c ];
inv(A)
ans =
[ c/(- b*d*x^2*y^4 + a*c*x^2), -(b*y^3)/(- b*d*x^2*y^4 + a*c*x^2)]
[ -(d*y)/(- b*d*y^4 + a*c), a/(- b*d*y^4 + a*c)]

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Variables, Expressions, Functions, and Preferences についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by