How to calculate |x|

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

Categorie

Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange

Richiesto:

il 16 Giu 2020

Risposto:

il 16 Giu 2020

Community Treasure Hunt

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

Start Hunting!

Translated by