How to write a function that utilizes unit vectors?
Show older comments
I want to implement the following vector function in Matlab:

This function utilizes unit vectors, denoted here by
,
and
. I know how to implement the functions for the different directions, but I don't know how to combine them into a single function that retains all vectorial components. Any help would be appreciated.
,
and
. I know how to implement the functions for the different directions, but I don't know how to combine them into a single function that retains all vectorial components. Any help would be appreciated. Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!