How to calculate |x|

2 visualizaciones (últimos 30 días)
Lakshit Chugh
Lakshit Chugh el 16 de Jun. de 2020
Respondida: Bjorn Gustavsson el 16 de Jun. de 2020
I am using find function but i need to use |x| instead of x how to write in matlab ?

Respuestas (1)

Bjorn Gustavsson
Bjorn Gustavsson el 16 de Jun. de 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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by