Hi Uma,
You can take a look at the following mathworks example to plot decision boundary: https://www.mathworks.com/help/stats/visualize-decision-surfaces-for-different-classifiers.html
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!