Approximation of transmittance issue
4 次查看(过去 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:
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:
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!