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

1 回表示 (過去 30 日間)
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 件のコメント
John D'Errico
John D'Errico 2018 年 1 月 4 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by