photo

Zhiying Wang


Last seen: 9 months ago Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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/...

4 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 2 answers | 0

2

answers

Question


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...

5 years ago | 5 answers | 0

5

answers