Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use matlab and use the given work The original csolve code is as follows A hint to how this problem could run Submit your

please use matlab and use the given work

image text in transcribed

The original csolve code is as follows

image text in transcribed

A hint to how this problem could run

image text in transcribed

Submit your m-file and a diary that shows how you tested the code. Modify csolve.m so that it outputs pivot and free. Then call upon this function in csolvefull.m. Submit the m-file for csolvefull.m, but not csolve.m Create a function csolvefull.m with input matrix A and a column vector b and no output. The function should display the rank, the pivot and free variables of A, the particular solution to Ax - b, and the special solutions for A. Test it using the system below 11 5 8 -4 0 2 15 -3 6-12 -8 -5 1 3 2 -5 6 9 Your display should be precisely the following: >> csolvefull(A,b) The rank of the coefficient matrix is 3 Pivot variables: 1 2 5 Free variables: 3 4 The particular solution is xp 0.4413 0.0829 0 0.3981 The special solutions are 0.5000 0.5000 1.0000 0.5000 1.5000 1.0000 0.0000 0.0000 Page 1 of 1 Submit your m-file and a diary that shows how you tested the code. Modify csolve.m so that it outputs pivot and free. Then call upon this function in csolvefull.m. Submit the m-file for csolvefull.m, but not csolve.m Create a function csolvefull.m with input matrix A and a column vector b and no output. The function should display the rank, the pivot and free variables of A, the particular solution to Ax - b, and the special solutions for A. Test it using the system below 11 5 8 -4 0 2 15 -3 6-12 -8 -5 1 3 2 -5 6 9 Your display should be precisely the following: >> csolvefull(A,b) The rank of the coefficient matrix is 3 Pivot variables: 1 2 5 Free variables: 3 4 The particular solution is xp 0.4413 0.0829 0 0.3981 The special solutions are 0.5000 0.5000 1.0000 0.5000 1.5000 1.0000 0.0000 0.0000 Page 1 of 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions