Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
01 Mar 2008 Broad Band Antenna THIS IS BROAD BAND LOG PERIODIC ANTENNA DESIGNING PROG. Author: ANUJ TRIPATHI CANZ, MIE

 8 S A NCE PROGRAM

02 Jun 2007 Broad Band Antenna THIS IS BROAD BAND LOG PERIODIC ANTENNA DESIGNING PROG. Author: ANUJ TRIPATHI Hanselman, Duane

Here is the M-file as posted. It contains non-MATLAB code:
%DESIGNING OF A LOG-PERIODIC ANTENNA FOR RECIEVING DD1,DD2 &DD-NEWS CHANNEL
%VHF CHANNELS--
% 2,3,4 -- 54,60,66,72MHz
% 5,6 -- 76,82,88MHz
% 7,8,9,10,11,12,13 -- 172,180,186,192,198,204,210,216 MHz
%UHF CHANNELS
% 14-83 -- 470-890MHz
%1CM=.390625INCH
clc
clear all
disp('DESIGNING OF A LOG-PERIODIC ANTENNA FOR RECIEVING DD1,DD2 &DD-NEWS CHANNEL');
disp(' ');
disp(' ');
float double a;
float double gtl;
float double fbw;
float double bar1;
float double bs1;
float double l1;
float double l2;
float double D1;
int n;
int i;
float double sigma1;
float double lmax;
float double s(100);
float double l(100);
float double d(100);
float double bs;
float double l1;
float double l2;
gtl=0.0;
x=input('Enter the value of lower frequency=');
y=input('Enter value of upper frequency=');
dmax=input('Enter value of largest element diameter(in inches)=');
disp(' ');
disp('Directivity 8dB');
fbw=2*(y-x)/(x+y);
fprintf('Fractional bandwidth =%f \n',fbw);
sigma=.157;
tau=.865;
a=atan((1-tau)/(4*sigma));
fprintf('Angle alpha =%f radian \n',a);
bar=1.1+7.7*(1-.865)^2*cot(a);
bar1=bar/(1000000);
fprintf('Active region bandwidth =%f MHz \n',bar1);
s=y/x;
bs=s*bar;
bs1=bs/1000000;
fprintf('Designed bandwidth =%f MHz \n',bs1);
c=3*10^8;
l1=c/x;
fprintf('Max. wavelength =%f meters\n',l1);
l2=l1*3.2805;
fprintf('Max wavelength =%f feets\n',l2);
L=(l1/4)*(1-(1/bs))*cot(a);
fprintf('TOTAL LENGTH =%f meters\n',L);
N=1+(log(bs)/log(1/tau));
n=round(N);
fprintf('No. of elements is=%f \n',n);
sigma1=sigma/sqrt(tau);
fprintf('Relative mean spacing =%f \n',sigma1);
lmax=l2/2;
fprintf('Max length =%f feet \n',lmax);
za=120*(log(s)-2.25);
fprintf('Average characteristic impedence =%f ohms \n',sigma1);
Rin=50;
V=za/Rin;
VAR=1.2;
zo=VAR*Rin;
s=3/4*cosh(zo/120);
fprintf('Center-to-center spacing of feeder line conducter =%f \n',s);
L(n)=lmax;
d(n)=dmax;
s(n)=s;
for i=n-1:-1:1
    s(i)=s(i+1)*tau;
     L(i)=L(i+1)*tau;
     d(i)=d(i+1)*tau;
     disp(' ');
fprintf('INDIVIDUAL LENGTHS of %d th element is %f meters \n',i,L(i));
fprintf('INDIVIDUAL spacing of %d th element is %f meters \n',i,s(i));
fprintf('INDIVIDUAL dimeter of %d th element is %f meters \n \n',i,d(i));
gtl=gtl+L(i);
end
fprintf('Gross total length req. for all elements is %f meters \n',gtl);
disp(' ');
disp(' ');
disp('THIS PROGRAM IS SUBMITTED BY- ');
  disp(' ANUJ KUMAR TRIPATHI');
  disp(' ELECTRONICS & COMMUNICATION ');
    disp(' THAPAR INSTITUTE OF ENGG. AND TECH. ');

11 May 2007 Broad Band Antenna THIS IS BROAD BAND LOG PERIODIC ANTENNA DESIGNING PROG. Author: ANUJ TRIPATHI S., C.

This is a poorly written script. It should be removed from the FEX.

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI Hanselman, Duane

I sent an email directly to the author requesting that they withdraw this submission.

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI y, x

In a cake baking contest, participants are given not only submission criteria, but are also given upfront, before they bake and submit their cake, the criteria by which their submission will be judged. No such thing exists for the FEX. The last FEX submission criteria should be a link to the clearly defined criteria by which a submission gets a 1, 2, 3, 4, or 5 score. Without that knowledge, a submitter can only be judged on what the submission guidelines are. The judging criteria needs to be put in plain sight. Without it, submitters are kept in the dark and are rightly disturbed for poor reviews.

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI Schwanghart, Wolfgang

Please, ANUJ TRIPATHI, withdraw your submission... to give an end to this fruitless discussion.

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI x, x

 Interesting, but hopelessly flawed, analogy by xy. Had this actually been a cake in some local contest, the judges there would have assessed its merits as cake. Had the cake been a lumpy, uncooked mess, the judges would have assessed it as poor. Not every cake entered in a contest wins a blue ribbon. As reviewers, several people have now stated an honest opinion of this piece of code. It is "poor". xy has as yet never seen fit to justify how this has any merit as matlab code. I'm sorry, but the review system is there for a reason. When xy chooses to show a real name and make a credible argument why this is not a waste of internet bandwidth, I might be willing to debate the issue. For example, xy might have chosen to suggest that a file of this nature should be rated as a 2. Instead, xy appears to lack the moral courage to even use a real name. Its kind of sad.
  

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI smith, joy

smithOK now we are hopefully getting somewhere.
Why will the jury give the first price to a specific cake. Because it is a "valid" cake (submission guidelines) AND THAT CAKE LOOKS GOOD AND TASTES WELL (as assessed by the jury).
And if you ever wanted to buy a cake, you can use that second assessment to make your choice. However, looking for such a cake will become increasingly more difficult if there are a lot of tastless cakes around ...

Can you see the analogy with the FEX?

BTW, why don't give yourself a proper name?

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI Smith, Jhon

OK now we are hopefully getting somewhere.
Why will the jury give the first price to a specific cake. Because it is a "valid" cake (submission guidelines) AND THAT CAKE LOOKS GOOD AND TASTES WELL (as assessed by the jury).
And if you ever wanted to buy a cake, you can use that second assessment to make your choice. However, looking for such a cake will become increasingly more difficult if there are a lot of tastless cakes around ...

Can you see the analogy with the FEX?

BTW, why don't give yourself a proper name?

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI D'Errico, John

Interesting, but hopelessly flawed, analogy by xy.

Had this actually been a cake in some local contest, the judges there would have assessed its merits as cake. Had the cake been a lumpy, uncooked mess, the judges would have assessed it as poor. Not every cake entered in a contest wins a blue ribbon.

As reviewers, several people have now stated an honest opinion of this piece of code. It is "poor". xy has as yet never seen fit to justify how this has any merit as matlab code. I'm sorry, but the review system is there for a reason. When xy chooses to show a real name and make a credible argument why this is not a waste of internet bandwidth, I might be willing to debate the issue. For example, xy might have chosen to suggest that a file of this nature should be rated as a 2.

Instead, xy appears to lack the moral courage to even use a real name. Its kind of sad.

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI x@y.z, Jos

OK now we are hopefully getting somewhere.
Why will the jury give the first price to a specific cake. Because it is a "valid" cake (submission guidelines) AND THAT CAKE LOOKS GOOD AND TASTES WELL (as assessed by the jury).
And if you ever wanted to buy a cake, you can use that second assessment to make your choice. However, looking for such a cake will become increasingly more difficult if there are a lot of tastless cakes around ...

Can you see the analogy with the FEX?

BTW, why don't give yourself a proper name?

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI y, x

Jos said "While the style may be good, the contents can be poor."

The submission guidelines do not place ANY qualifications on "contents", so it is inappropriate to judge submissions on items not known to the submitter.

If you were in a cake baking contest and that contest gave you submission guidelines that included size, shape, amount of frosting, and date due. In response you submitted a cake that met all these submission guidelines. When the judges came along and "reviewed" your submission, they requested that your submission be removed because it did not contain chocolate. No where in the submission guidelines did it say that the cake had to contain chocolate, but you are disqualified because of it. Is that right? I don't think so, but yet that is how the FEX is run. It isn't right.

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI x@y.z, Jos

xy, you're confusing style and contents. While the style may be good, the contents can be poor. Most (all?) reviewers here are rating contents, whereas you seem to be interested in style only.

btw for this particular submission, both contents and style are poor in my opinion

11 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI Schwanghart, Wolfgang

xy, I do not understand your intention. As a frequent visitor but infrequent participant at the FEX and CSSM, I am glad for the guidance to files given by the reviewers. Misleading ratings, if positive or negative, are just destructive.

And your rating is just far too high for such a poor submission.

10 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI D'Errico, John

This may meet the requirements for the FEX, in the sense that it is not offensive, etc. That does not make it good. That merely makes it not offensive. It is still poor.

I'm sorry, but this is still a worthless collection of nearly random bits, worthless to anybody but possibly the author. As it is, a significant portion of this code does nothing more than parrot out the author's name and institute the author belongs to. Is this an advertisement for the author's skills? It says nothing positive in that respect.

Note that there is little hint about what this code does, what the variables are, how to use it, etc.

HAD the author tried even a little bit here, I'd happily argue for a higher rating. What could have been done?

1. Provide reasonable comments, to allow someone to follow what was done. Comments are tremendously valuable in a teaching tool.

2. Provide a link or so to places that will allow a user to learn more.

3. Defined what the variables meant, so that someone could change things and understand what happens.

4. Better, make this into a function, so it does not step all over the user's workspace variables.

With a significant amount of work, one might make this into a viable teaching tool. Until then, its just "poor". xy seems to think that telling people that a minimal effort is "excellent" will help them. It does not. It merely convinces them that they need never bother learning to do better.

10 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI y, x

Jos is incorrect. This submission does meet ALL submission requirements. Here they are yet again:
"*Contact information must be complete and accurate. This information is displayed on the web site and is used by customers and The MathWorks to communicate with you.
* The Submission must not directly compete with products offered by The MathWorks or its partners.
* The Submission must not violate or infringe on any patent, copyright, or other intellectual property right of any other person.
* The Submission must be offered free of charge.
* The Submission must not be offensive.
* The Submission must not be malicious or destructive in nature.
* The title, abstract, description, requirements, and other information must be accurately completed." (This last item does not refer to the submitted M-file, but rather to the information appearing on the FEX page for the submission.)

"overwritting my variables, clearing my command window, ..." are NOT part of the submission guidelines. Please Jos, read the submission guidelines for the FEX, not those of some other group. "functionality", "no help, no comments", etc. are NOT part of the submission guidelines, so do not say that they are.

10 May 2007 COMPARISION OF ARRAY PATERNS HERE I COMPARE IT FOR ELEMENTS 4, 8,16,32 Author: ANUJ TRIPATHI x@y.z, Jos

Again, complete dreck has found it's way to the FEX again ...

Why anybody else than the author would be interested in something like this remains a complete mystery to me.
No functionality, no help, no comments.
And it even does not follow the submission guidelines (overwritting my variables, clearing my command window, ...)

And the author may have a problem with has caps-lock key ...

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com