EASy68K  
It is currently Thu Jul 02, 2020 4:16 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: N-Polygon with cordic
PostPosted: Fri Mar 08, 2013 5:49 pm 
Offline

Joined: Fri Mar 08, 2013 5:43 pm
Posts: 1
I want draw a regular n-polygon with CORDIC template... I write succesfully the Cordic, but I have no idea for use it. can you help me?


Top
 Profile  
 
PostPosted: Sun Mar 24, 2013 3:11 pm 
Offline

Joined: Wed Apr 25, 2012 12:43 pm
Posts: 6
With CORDIC can calculate the sine and cosine of an angle. For an n-sided polygon, you must divide the circumference into n equal parts, ie, split it at angles of 360 / n degrees. The coordinate of each point i (x, y) is (r * cos (i * (360 / n)), r * sin (i * 360 / n))) where r is the radius of the circle in which inscribed polygon.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group