Feeds
提问
Why the plot figure is empty
y = ones(1,11,'sym'); syms a; n=0; for x = -a/2:a/10:a/2; n=n+1; y(n)=(15/8*a)^(1/2)*(1-4*x^2/a^2); end fplot(-a/2:a/...
6 years 前 | 1 个回答 | 0
1
个回答提问
Why the I is always a constant
I=zeros(1,1); f=zeros(1,1); for ky=-6:1:6 for kx=-6:1:6 for n=0:1:2 for m=0:1:2 if...
6 years 前 | 2 个回答 | 0
2
个回答提问
Index in position 2 is invalid. Array indices must be positive integers or logical values.
I=zeros(1,1); f=zeros(1,1); n=0; m=0; for ky=-6:0.1:6 for kx=-6:0.1:6 f(10*ky+61,10*kx+61)=exp(i*10^(-16)*(2.16*(n+m)*kx...
6 years 前 | 5 个回答 | 0