MATLAB Answers

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

6 views (last 30 days)
Ali Osman Aydin
Ali Osman Aydin on 4 May 2018
Edited: John Kelly on 21 May 2018

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

  6 Comments
John BG
John BG on 21 May 2018
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.

Sign in to comment.

Answers (1)

John BG
John BG on 5 May 2018
Edited: John BG on 16 May 2018
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 Comments
Walter Roberson
Walter Roberson on 19 May 2018
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!