Write a MATLAB function which, when a reaction equation of the type shown below is passed as a character string, creates and returns the element-species matrix. To do this, use the function from the "Sum formula" exercise. Example:4 * CH4 + O2 = 2 * C2H6 + 2 * H2O thus results in the following matrix: ESM = [1 0 2 0; 4 0 6 2; 0 2 0 1]
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here