Oblique Shock relations solver function

A function created to solve different cases for oblique shock relations depending on the given data and desired weak or strong solution

You are now following this Submission

This function solves the oblique shock relations based on the
relations given in " Modern Compressible Flow With Historical Prespective-John D. Anderson Jr "
  • You can solve for different cases depending on the given data for your problem.
  • You can also decide whether you want the strong or weak solution.
  • the values assigned for the flag1 and flag2 determine the case you want to solve for.
  • variables names ending with 1 refer to the stream before deflection.
  • variables names ending with 2 refer to the stream after deflection.
This my first contribution here I hope people find it useful.

Cite As

Mohamed Hassan (2026). Oblique Shock relations solver function (https://ch.mathworks.com/matlabcentral/fileexchange/100898-oblique-shock-relations-solver-function), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

changed the way some values are calculated from "solve()" to "vpasolve()" because just using normal solve doesn't work on MATLAB versions later than 2017

1.0.0