Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antenna.js full translated from Matlab #16

Merged
merged 1 commit into from
Oct 24, 2015
Merged

Antenna.js full translated from Matlab #16

merged 1 commit into from
Oct 24, 2015

Conversation

guyikcgg
Copy link
Contributor

The preceding file in the repo had some non-working code, not still translated from Matlab. The version I propose is a full translation of functions antennafunccircular, array_factorcir and trapezoidalcir, found here:
http://www3.ntu.edu.sg/home/epnsugan/index_files/CEC11-RWP/CEC11-RWP.htm

I have tested it with several inputs and the results are the same than the produced by the original functions. However, a more extensive test is mandatory. It also remains to add the license and the corresponding credits and a deep format revision.

The preceding file in the repo had some non-working code, not still translated from Matlab. The version I propose is a full translation of functions antennafunccircular, array_factorcir and trapezoidalcir, found here:
http://www3.ntu.edu.sg/home/epnsugan/index_files/CEC11-RWP/CEC11-RWP.htm

I have tested it with several inputs and the results are the same than the produced by the original functions. However, a more extensive test is mandatory. It also remains to add the license and the corresponding credits and a deep format revision.
break;
}
tem=yax[phi_ref-i];
if (yax[phi_ref-i]<yax[phi_ref-i-1] && yax[phi_ref-i]<yax[phi_ref-i+1]) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier 'phi_ref' is not in camel case.
Too many errors. (80% scanned).

@guyikcgg guyikcgg closed this Oct 23, 2015
@guyikcgg guyikcgg reopened this Oct 23, 2015
@guyikcgg
Copy link
Contributor Author

I said a deep format revision was needed haha.

JJ added a commit that referenced this pull request Oct 24, 2015
Antenna.js full translated from Matlab
Anything translated from matlab is good!!!
@JJ JJ merged commit 8552bf7 into JJ:master Oct 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants