how to make given plot smooth

2 views (last 30 days)
Hello every one!! I am getting a vector named final_integrand for which code is not shown here.final_integrand is a vector,and I need to plot it on x-axis with y-axis as given below.I am getting the plot but it's not smooth.I want to get a smooth plot.Ploting code is given below.Can any body please help !! Thank You
title(sprintf('velocity profile for Step No %d',k))
xlabel('velocity in mm/sec','FontSize',10,'FontWeight','bold');

Accepted Answer

VBBV on 22 Oct 2020
Edited: VBBV on 22 Oct 2020
Change the step size of vector yy
But ensure that final_integrand is also the same size of vector yy for plottinhg.
It means you have to calculate the integral values for the function having the same size as newly defined vector yy
  1 Comment
Najam us Saqib Fraz
Najam us Saqib Fraz on 22 Oct 2020
i cannot change the size of final_integrand......

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by