how can i create a monotonic function out of a Periodic function .like make a Monotonic sine function from 0 to 2pi

1 view (last 30 days)
i used this loop to add the different every time but im not sure if its ok X1=sin(x); d=abs(diff(X1)); X2=X1; for j=2:numel(X1) X2(j)=X2(j-1)+d(j-1); end
  1 Comment
John D'Errico
John D'Errico on 4 Jan 2018
You need to define what that means. The sine function is NOT monotonic on that interval. Just wanting it to be monotonic has no meaning in mathematics. So explain what you need in clear terms.

Sign in to comment.

Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!