How to calculate |x|
1 view (last 30 days)
Show older comments
I am using find function but i need to use |x| instead of x how to write in matlab ?
0 Comments
Answers (1)
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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!