Hi Gaurav,
I have provided few important hyperlinks to similar cases which will help you to develop your understanding of Symbolic variables.
Kindly visit the below mentioned hyperlinks:
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!