Two different approaches are used in this project. One is using VB.Net and Arduino based and the other one is Matlab with Arduino support package. The second approach was more flexible in terms of computation and accuracy.
Demo link (Digital pins of servo) - https://youtu.be/MnyDtMQRBBI.
Demo link (Analog pins of servo) - https://youtu.be/8-xkC7NYhII.
Special thanks to MONG MONTANCES for the Matlab GUI and servo motor control code.