|
写了一段代码,好像不对,供你参考- clear;clc;close all
- r=0.58;
- f1 = @(kc,omg)tan((((pi*omg)^2-kc^2)^(1/2)/2))/tan((((pi*r*omg)^2-...
- kc^2)^(1/2)/2))+4*kc^2*((pi*omg)^2-kc^2)^(1/2)*((pi*r*omg)^2-...
- kc^2)^(1/2)/((pi*omg)^2-2*kc^2)^2;
- f2 = @(kc,omg)tan((((pi*omg)^2-kc^2)^(1/2)/2))/tan((((pi*r*omg)^2-...
- kc^2)^(1/2)/2))+((pi*omg)^2-2*kc^2)^2/(4*kc^2*((pi*omg)^2-...
- kc^2)^(1/2)*((pi*r*omg)^2-kc^2)^(1/2));
- h1 = ezplot(f1,[-2 9 0 3.5]);
- hold on
- h2 = ezplot(f2,[-2,9,0,3.5]);
- set(h1,'color','k','Linew',4);
- set(h2,'color','r','LineW',4);
复制代码 |
评分
-
1
查看全部评分
-
|