how to make these vector with polar coordinate r into a matrix with coordinate phi?

조회 수: 1 (최근 30일)
Kobi
Kobi 2017년 7월 1일
댓글: dpb 2017년 7월 1일
Hello, i have a simple vector in coordinate r (polar) without the coordinate phi (polar), i would like to make this a matrix that will show a circles from the middle. how to do this?
lambda=520*10^-9;
k=2*pi/lambda;
D=2.5*10-2;
R=D/2;
f=7.5*10^-2;
NA=R/f;
limit=0;
r=[-1e-6:0.00001*1e-6:-limit limit:0.00001*1e-6:1e-6];
arg=k*NA*r;
I=2*besselj(1,arg)./arg;
I=I.^2;
plot(r,I)
ylim([0 10*10^-4])
xlim([-0.5*10^-7 0.5*10^-7])
grid on
ylabel('I(r)')
xlabel('r [m]')
  댓글 수: 1
dpb
dpb 2017년 7월 1일
Not following what the expected plot should look like...can you post a picture that's similar (even a hand sketch would likely do)?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Bar Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by