nction [xn,yn]=samplep(x,y,N,sD,sA);
% sample point with an equal step length of curve
% N is total number of sample point.
% sD is a scale from the quantity levels of x-Data and y-Data
% sA is a scale from the length of x-axis and y-axes at the axes
% For user, sD can easier be calsulated by the data.
% sA needs that try it again and again. sA is from the
% defference of the scale at x-axis and y-axis.
|