UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Newbie omarcrypps
Newbie
7,811 Views
Registered: ‎12-31-2014

How to set an input vector with Xilinx System Generator ?

 

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

Tags (2)
0 Kudos
Reply