how inverse number ?

16 vues (au cours des 30 derniers jours)
Mohammad Alhaddad
Mohammad Alhaddad le 24 Sep 2021
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

Réponses (2)

David Hill
David Hill le 24 Sep 2021
Output=2*abs(Input-2);
  1 commentaire
Mohammad Alhaddad
Mohammad Alhaddad le 24 Sep 2021
Thanks

Connectez-vous pour commenter.


Sulaymon Eshkabilov
Sulaymon Eshkabilov le 24 Sep 2021
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.

Catégories

En savoir plus sur Descriptive Statistics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by