How can I draw smithchart ? I'm gettting an error

조회 수: 1(최근 30일)
Ali Osman Aydin
Ali Osman Aydin 2018년 5월 4일
편집: John Kelly 2018년 5월 21일

How can I draw smithchart ? I'm gettting an error

  댓글 수: 6
John BG
John BG 2018년 5월 21일
and please stop editing the comments written by others. Just add your comments appended to anything you object, but by editing others comments you cause further confusion.

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

답변(1개)

John BG
John BG 2018년 5월 5일
편집: John BG 2018년 5월 16일
Hello Ali
You are using some of the functions I have written to help develop MATLAB code for Smith chart related tasks.
I posted the code the Ali Osman is reproducing in his question 1 year ago, available here:
returns solutions that include such functions, haven't compiled them yet into a single toolbox, and I don't think I am going to, because MATLAB already has an RF toolbox.
1.
your line
Smith_plotYL(ax,YL,1/Z0)
should be
Smith_plotY(ax,YL,1/Z0)
2.
your line
gb1_xint(1)+1j*yint(1);
should be
gb1=xint(1)+1j*yint(1)
3.-
Please find attached the support functions needed to have your script working.
4.
your line
plot(ax,real(gamma),imag(gamma),'r0','LineWidth',1.5); %çizim
should be
plot(ax,real(gamma),imag(gamma),'ro','LineWidth',1.5); %çizim
5.-
the result
is similar to those obtained with
Ali, please download again from the above link because I have fixed a couple syntax errors that may have induced your question regarding my code.
Ali Osman
if you find this answer useful would you please be so kind to consider marking my answer as Accepted Answer?
To any other reader, if you find this answer useful please consider clicking on the thumbs-up vote link
thanks in advance for time and attention
John BG
  댓글 수: 18
Walter Roberson
Walter Roberson 2018년 5월 19일
John BG: you edited the citation of your contribution into place after Jan said that he did not see any evidence that you were the author of the code that was originally posted. I had also asked for evidence as I had actively googled a number of different lines of the code and found matches for only the first three lines. I had no evidence at the time. Jan had no evidence at the time. His remarks were correct and were not misleading.
Since the time you posted the link to your contribution, I have not seen anyone questioning that you did in fact contribute the code that the user originally posted.
The matter after that time has been about whether the Answer you originally posted here cited copyright work properly. You have edited in a citation, but that does not make it misleading that Jan has not removed the remarks pointing out that you originally had difficulty in that manner.
I thanked you for your response and I voted for your Answer, as you made useful contributions to the user. But I am not going to remove Jan's remarks as they were not misleading at the time they were made. The authorized editors enforce the copyright policy on everyone, not just on you.
I am not going to Accept on behalf of the user as you have made your opposition to that clear in the past. If you grant the power users authority to Accept on behalf of the users then you also grant them authority to make decisions about which Answer is best, potentially Accepting someone else's Answer in cases where you have posted an Answer. You have firmly indicated in the past that you believe that it should be strictly up to the user to choose the Answer that the user prefers. Accordingly, if the user prefers not to Accept an Answer of your creation that looks to be well considered, I have to defer to your strongly expressed opinions of the past and refrain from Accepting on behalf of the user.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by