📄 matplot.m
字号:
% The script file matplot.m plots the characteristic curves of% Mathieu's equation using a 32x32 Fourier differentiation matrix.% J.A.C. Weideman, S.C. Reddy 1998[x, D] = fourdif(32,2); for q = 0.1:0.1:12 % For loop over q values a = eig(2*q*diag(cos(2*x))-D); % Compute eigenvalues (period 2 pi)plot(q+i*a,'o','MarkerSize',2); hold on;endaxis([0 12 -10 30]) % Zoom inxlabel('q','FontSize',16)ylabel('a','FontSize',16)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -