⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 miniapprox1.m

📁 Mathematical Methods by Moor n Stiling.
💻 M
字号:
% minimax approximation example
% Copyright 1999 by Todd K. Moon

t = 0:.05:1
subplot(2,2,1);
b = 1.2;
b1 = .1;
m = (b1-b)
%m = -.73
hold on;
plot(t,cos(pi*t/2),t,m*t + b);

subplot(2,2,2);
plot(t,cos(pi*t/2) - (m*t+b))
axis([0 1 -.2 .2]);

m = -1;
b = 1.1053;
zeta = .4393;
delta = .1053;
subplot(2,2,3);
plot(t,cos(pi*t/2),t,m*t + b);
subplot(2,2,4);
plot(t,cos(pi*t/2) - (m*t+b));
axis([0 1 -.2 .2]);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -