How to make the ouput sqrt(value) and not the value in decimals

1 view (last 30 days)
Hi,
As the title says. Can anyone help? Also I need to create a unit vector and it would be better to have it as xi +yj +zk /sqrt(x^2+y^2+z^2)
how can i leave it in this format on matlab?
Thanks

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!