Azzera filtri
Azzera filtri

How to calculate |x|

1 visualizzazione (ultimi 30 giorni)
Lakshit Chugh
Lakshit Chugh il 16 Giu 2020
Risposto: Bjorn Gustavsson il 16 Giu 2020
I am using find function but i need to use |x| instead of x how to write in matlab ?

Risposte (1)

Bjorn Gustavsson
Bjorn Gustavsson il 16 Giu 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