Create a MATLAB script that plots a fancy TS diagram. -- 2

Job ID: 35257911

Budget: $10 – $30 USD

Create a MATLAB script that plots a fancy TS diagram (temperature vs. entropy).


The plot should include:

-Labels at all stations, total and static.

-Isobars at each location (they can be 'trimmed' if needed to clean up the plot)

-Axis labels

-Properly curved process lines (recall the polytropic process, or you can use the polytropic efficiency to do this)

-Velocities (or specific kinetic energy) at the inlet and exit, at least. (the vertical lines showing V^2/2Cp between total and static quantities).

The script should ask the user to input the number of stations, the static pressure values for each station, the static temperature values for each station, the total pressure values for each station, the total temperature values for each station, and all the velocity (or specific kinetic energy) values for each station.

Please look at the example uploaded.