Piecewise Linear Sine Function
Approximate the sine function in the first quadrant using a piecewise linear continuous function with two segments. Find the slope change point that minimizes the squared error difference between the piecewise linear function and its Fourier series fundamental sine component b1. The minimum is approximately:
a.) 0.014 b.) 0.018 c.) 0.023 d.) 0.027 e.) 0.030 http://ivyriver.net/images/pwl.png Code:
samples = 100; 
Re: Piecewise Linear Sine Function
Interesting problem! Thank you.

All times are GMT 7. The time now is 06:33 PM. 
Powered by vBulletin® Version 3.8.3
Copyright ©2000  2020, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. AbuMostafa, Malik MagdonIsmail, and HsuanTien Lin, and participants in the Learning From Data MOOC by Yaser S. AbuMostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.