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
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 Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!