I have two input vectors ; the first one containing the angles ( Theta ) and the second vector containing the distances ( Rho) .
The aim of my work is the calculates the positions X and Y using ( Theta ) and ( Rho )
The two equations are
X = Rho * cos ( theta ) Y = Rho * sin ( theta )
The problem is that I don't know how to setvector inputs , so that I will have two output vectors of X and Y and trace the trajectory of a moving target .
For example Theta = [ 12 41 60 71 84 96 ]
Rho = [ 100 136 142 137 156 178 ]
Here is what I did