Question: Try in MATLAB >>B = [sin (sym (1)) sin( sym (2)); sin( sym (3)) >>sin(sym (4))] >>c = [1; 2] >> x = B
Try in MATLAB >>B = [sin (sym (1)) sin( sym (2)); sin( sym (3)) >>sin(sym (4))] >>c = [1; 2] >> x = B \ c >>pretty(x) Next input the matrix: >>Cs = [1 2 ; 2 4] symbolically as above by wrapping each number in sym. Create a numerical version via Cn = double(Cs) and dene the two vectors d1 = [4; 8] and d2 = [1; 1]. Solve the systems Cs*x = d1, Cn*x = d1, Cs*x = d2, and Cn*x = d2. Explain the results. Does the symbolic or non-symbolic way give more information?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
