Effacer les filtres
Effacer les filtres

How to calculate |x|

1 vue (au cours des 30 derniers jours)
Lakshit Chugh
Lakshit Chugh le 16 Juin 2020
I am using find function but i need to use |x| instead of x how to write in matlab ?

Réponses (1)

Bjorn Gustavsson
Bjorn Gustavsson le 16 Juin 2020
abs(x)
When you look for functions you should learn about the matlab-command lookfor, have a look at the help and documentation of that function.
HTH

Community Treasure Hunt

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

Start Hunting!

Translated by