Rank: 4411 based on 4 downloads (last 30 days) and 1 file submitted
photo

Nir Kalush

E-mail
Company/University
Univeristy of Maryland

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Nir
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Dec 2005 oblique shock wave relations Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... Author: Nir Kalush aerospace, aeronautics, aerodef, theta, beta, mach 4 3
  • 4.0
4.0 | 3 ratings
Comments and Ratings on Nir's Files View all
Updated File Comment by Comments Rating
22 Nov 2006 oblique shock wave relations Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... Author: Nir Kalush Billingsley, David

This is a great little program. Only face lifts would be a clarification of the user interface and function form for use inside of programs.

21 Aug 2006 oblique shock wave relations Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... Author: Nir Kalush parsay, khashayar
08 Dec 2005 oblique shock wave relations Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... Author: Nir Kalush nick, Author

Thank you Mr. D'Errico,

I realize the methodology is probably the worst possible.

At the end of my semester (15 days from date of submission) I plan on rewriting the code and making it more useful.

I Will most definently use your advices and I completely forgot about FZERO. I am not sure how one can write a help file for a function. If you pass by this page again, or somebody else, please do offer more advices.

Sincerely,

Nick

06 Dec 2005 oblique shock wave relations Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... Author: Nir Kalush D'Errico, John

The author has put some effort into this code. At least it
is a function, not a script. Of course, given that it is a
function, why use input to provide the parameters? This
is why matlab allows the provision of input arguments to
a function. As a function, this code should also return the
value solved for.

It needs better documentation. A line or two that
describes the actual equation being solved would help,
to ensure that a user knows what is being solved. The
user gets very little information when they call help on
this function, and forcing the user to edit the code and
decipher what it does seems silly.

The actual solution is very inefficiently coded, using
brute force loops to creep up on a solution. Fzero would
have been a better solution. Best of course is the fairly
simple algebraic solution that would exist. For example,
the equation appears to be a quadratic polynomial in
Mach number, and transformable to a polynomial roots
problem in beta. While these last comments are purely
that of programming style, the approach chosen will
severely (negatively) impact the efficiency and accuracy of
the result.

I was pleased to see error checks done on the input
parameters.

Top Tags Applied by Nir
aerodef, aeronautics, aerospace, beta, mach
Files Tagged by Nir
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Dec 2005 oblique shock wave relations Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... Author: Nir Kalush aerospace, aeronautics, aerodef, theta, beta, mach 4 3
  • 4.0
4.0 | 3 ratings

Contact us at files@mathworks.com