how to create 4x4 inverse matrix in simulink?

120 ビュー (過去 30 日間)
tt
tt 2011 年 5 月 8 日
回答済み: mohammad 2024 年 2 月 4 日
how to create 4x4 inverse matrix in simulink?

回答 (4 件)

Alexander Scholz
Alexander Scholz 2019 年 1 月 18 日
You don't need an extra Toolbox for that. Just use Simulink's "Divide"-Block from "Math Operations" and set it to Matrix-Mode.
You get 2 Imputs:
  • The first one needs to get an identity matrix as the input, with correct dimensions (e. g. Constant Block with "eye(4)")
  • The second one is the Matrix you would like to invert

Teja Muppirala
Teja Muppirala 2011 年 5 月 8 日
DSP System Toolbox (Signal Processing Blockset if you're not using the latest version R2011a) -> Math Functions -> Matrices and Linear Alegbra -> Matrix Inverses

Mohammad
Mohammad 2011 年 5 月 8 日
You can also use : simulink -> user defined functions -> Embedded matlab code

mohammad
mohammad 2024 年 2 月 4 日
Use the Divide block of Math Operations and set it to Matrix mode. This block has two inputs: the first input must be an identity matrix of the correct dimensions (for example, a Constant block with the value of eye(4)), and the second input is the matrix whose inverse you want to obtain.
The output of this block will be the inverse of the second input matrix. You can use this output to calculate the rest of your equations.

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by