how i can found the region of absolute stability ?
8 次查看(过去 30 天)
显示 更早的评论
n=0:30:180
h=((768 *cos((1/2)*n) + 96* cos(n) - 864) ./ (40*cos (1/2*n)+ 2*cos(n)+ 102))
figure
plot(n,h, 'b*-', 'LineWidth', 2)
grid on;
xlabel('n', 'FontSize', 20);
ylabel('h', 'FontSize', 20);
采纳的回答
Image Analyst
2018-7-7
Because you're using / (array division) instead of ./ (element by element division). Try this:
n=0:30:180
h=((768 *cos((1/2)*n) + 96* cos(n) - 864) ./ (40*cos (1/2*n)+ 2*cos(n)+ 102))
figure
plot(n,h, 'b*-', 'LineWidth', 2)
grid on;
xlabel('n', 'FontSize', 20);
ylabel('h', 'FontSize', 20);
% Do it again with more resolution.
n = linspace(min(n), max(n), 1000);
h=((768 *cos((1/2)*n) + 96* cos(n) - 864) ./ (40*cos (1/2*n)+ 2*cos(n)+ 102))
hold on;
plot(n,h, 'r-', 'LineWidth', 2)
grid on;
xlabel('n', 'FontSize', 20);
ylabel('h', 'FontSize', 20);
更多回答(2 个)
sadeem alqarni
2018-7-8
2 个评论
Image Analyst
2018-7-8
How is this an "Answer" to your original question? Anyway, as you can see from my plot, it depends on how you define stable. The values are constantly changing so they're not stable, however the overall pattern seems pretty stable - it seems to oscillate pretty much the same way over the time period plotted.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!