Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given N* N matrix A and N*1 vector X, write a Matlab program that finds a permutation p of the elements of X such that
Given N* N matrix A and N*1 vector X, write a Matlab program that finds a permutation p of the elements of X such that A*Xp=0
X= [7; 11; 3; 10; 5; 12; 8; 9]
A=[2 -1 4 6 0 -2 -3 -3; -7 -7 -5 0 4 5 11 -3; -12 7 -5 2 7 1 -9 3; 10 1 -1 5 1 -11 10 -9; -1 10 -6 7 -8 -11 1 1; 5 -5 10 6 -6 7 -2 -12; 9 10 0 8 1 -6 -12 -10; -3 9 -1 -6 -6 -8 6 7] for this A*X=0
Find the rearrangement of x elements so that A*xp = 0 Xp It is X after rearranging the elements
I want the complete code so I can try it on Matlab
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started