MATLAB Answers

How to calculate |x|

2 views (last 30 days)
Lakshit Chugh
Lakshit Chugh on 16 Jun 2020
Answered: Bjorn Gustavsson on 16 Jun 2020
I am using find function but i need to use |x| instead of x how to write in matlab ?

  0 Comments

Sign in to comment.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 16 Jun 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

  0 Comments

Sign in to comment.