Watch this Author's files
Ran into some NAN problems with the following inputs.
Tc = [304.2 190.6 630.1]; Pc = [72.9 45.4 30.17]; w = [0.228 0.008 0.4489]; T0 = 450; P0 = 300; %feed composition xy01 = [0 0 1];
This seems to be correct. I would suggest though, since it is a driver file, to remove the global statements.
Contact us at files@mathworks.com