Approximation of transmittance issue
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello folks. I have a problem with my matlab code. I need to do approximation but using my filter transmittance which is:
G=(-16.67*s)/(s^2+16.67*s+1)
I got some measured point, i did plot od this, did standard approximation using polyfit and polyvar function and its look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151151/image.jpeg)
but my teacher said that i cant use polynomial approximation but i have to approximate this function using my filter transmittance instead, but i have no idea how to do this. I would be gratefull for any help.
댓글 수: 2
Star Strider
2015년 6월 14일
I do not get anything close to that plot using the ‘G’ function you posted. Are you supposed to estimate those constants (-16.67, +16.67) instead of using the ones supplied?
Post your data, and a description of exactly what you want to do.
Image Analyst
2015년 6월 14일
s = 400 : 50 : 1300;
G=(-16.67*s) ./ (s.^2+16.67*s+1)
plot(s, G, 'r*');
grid on;
And here is the plot:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/182866/image.jpeg)
So, what were you plotting???
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!