Is there any way to increase the density of curve samples?
8 views (last 30 days)
Abdulaziz Abutunis on 3 Jun 2017
I have a plot of multiple curves and I want, if possible, to increase the density of these curves (increase the data). It looks like be some thing that uses fitting tool or interpolation tool but I was not able to find any. I appreciate your help.
Thanks in advance Aziz
Vandana Rajan on 13 Jun 2017
Why don't you use the 'interp' function to interpolate the data and then plot it? Below is an example code snippet from the documentation.
t = 0:0.001:.029; % Time vector
x = sin(2*pi*30*t) + sin(2*pi*60*t); % Original Signal
y = interp(x,4); % Interpolated Signal