To plot a McCabe-Thiele diagram in MATLAB, we need to first define the equilibrium curve and the operating line for a given distillation system. This can be done using the following steps:
main.m70 chars3 lines
main.m552 chars18 lines
main.m411 chars16 lines
main.m451 chars13 lines
The final MATLAB code for plotting a McCabe-Thiele diagram would look something like this:
main.m1481 chars51 lines
gistlibby LogSnag