Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Language is MATLAB. here q4 all Q.3 (3 marks) Given the following matrix T below. [, 21 T = X2 Y2 22 [x; 231

Programming Language is MATLAB. image text in transcribed
image text in transcribedhere q4 all
Q.3 (3 marks) Given the following matrix T below. [, 21 T = X2 Y2 22 [x; 231 (a) Show how you can use MATLAB to declare matrix T as a magic square. What is the value of sumsum(T))? (2 marks) (b) Show how you can determine if the matrix T is a singular matrix? (3 marks) Q.4 Figure Q4 shows a arbitrary shape. The coordinates are represented in a set of linear equations as follows: X1,71 2.72 Xs.ys X4,74 Figure Q4. X1 + 8x2 + 4x3 + 9x4 + 9x5 = 20 12x1 + x2 + 5x3 + 3x4 + 8x5 = 12 X1 + 10x2 + xy + 10x4 + 7xs = 30 11x + 2x2 + 4x3 + x4 + 6x3 = 14 13x1 + 5x2 + 2x3 + 4x4 + 5x5 = 8 Q.4 Figure Q4 shows a arbitrary shape. The coordinates are represented in a set of linear equations as follows: X1,Y10 2.72 Xs,y X4,74 3,73 Figure Q4. X1 + 8x2 + 4x3 + 9x4 + 9x5 = 20 12x + x2 + 5x3 + 3x, + 8x = 12 X1 + 10x2 + x3 + 10x4 + 7x5 = 30 11x + 2x2 + 4x3 + x4 + 6x3 = 14 13x1 + 5x2 + 2x3 + 4x4 + 5x5 = 8 3 SEEE/SKEE1022 (a) Write the MATLAB code to find the values of all the coordinates. (2 marks) (b) Using only det, determine the area of the arbitrary shape in Figure Q4, if the following coordinates are known. Point X2 Y2 X3. Ya Coordinate (x,y) 1,20 5.20 5,1 1,1 10.10 X5Y's

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions