how to get inverse number
example
I have input 2 to 0 . and I want the output 2 to 4. notes the big value in the input is 0 and in the out put is 4
Thanks

回答 (2 件)

David Hill
David Hill 2021 年 9 月 24 日

1 投票

Output=2*abs(Input-2);
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021 年 9 月 24 日

0 投票

MATLAB has a built-in fcn to compute the iverse of a square matrix that is inv() or ^-1
ALso, to compute the inverse of non-square matrices MATLAB's pinv() can be employed.

カテゴリ

質問済み:

2021 年 9 月 24 日

コメント済み:

2021 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by