MATLAB code help!! Homework 3 - Arrays, Masking, Systems of Equations, Plotting, and Numerical Methods Function Name: s...
Homework 3 - Arrays, Masking, Systems of Equations, Plotting, and Numerical Methods Function Name: sysEq Inputs: 1. (double) An NxN array representing an A matrix 2. (double) An Nx1 vector representing a b matrix Outputs: 1. (double) An Nx1 vector representing the resulting x matrix Background: Whoo, who woulda thunk it? Actually useful things in MATLAB? You bet! This method of solving systems of linear equations is useful in a wide variety of places, from solving mesh currents in ECE classes to balancing reactor flow rates in ChBE classes. Now it is your job to make it happen. Function Description: Given an A and a b matrix, use left division to find the resulting x vector. Round your answer to two decimal places. Example [о, -21; 16, -36]; b -19; -15]; sysEq(A, b); [1.10; ө.90]; A х3 х %3D>
Homework 3 - Arrays, Masking, Systems of Equations, Plotting, and Numerical Methods Function Name: sysEq Inputs: 1. (double) An NxN array representing an A matrix 2. (double) An Nx1 vector representing a b matrix Outputs: 1. (double) An Nx1 vector representing the resulting x matrix Background: Whoo, who woulda thunk it? Actually useful things in MATLAB? You bet! This method of solving systems of linear equations is useful in a wide variety of places, from solving mesh currents in ECE classes to balancing reactor flow rates in ChBE classes. Now it is your job to make it happen. Function Description: Given an A and a b matrix, use left division to find the resulting x vector. Round your answer to two decimal places. Example [о, -21; 16, -36]; b -19; -15]; sysEq(A, b); [1.10; ө.90]; A х3 х %3D>