Question

Check the file: Question.pdf

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

function main()
%a)
A=[1 1 5; 3 2 1; -2 1 -1];
b=[4;8;-3];

determinantA = det(A)
%1.
x1=A\b
%2.
x2=inv(A)*b
%3.
x3=(b'/A')'
%(b)
x=linspace(-5,5,50);
y=linspace(-5,5,50);
z=linspace(-5,5,50);
[X,Y]=meshgrid(x,y);
surf(X,Y,x1(3)*ones(size(X)));
hold on
surf(X,x1(2)*ones(size(X)),Y);
surf(x1(1)*ones(size(X)),X,Y);
hold off
xlabel('axis x');
ylabel('axis y');
zlabel('axis z');
title('Intersection 1');

str1='intersection point x';
text(x1(1),x1(2),x1(3),str1, 'FontSize',19);...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Related Homework Solutions

Random X and Y
Homework Solution
$10.00
Mathematics
Matlab
Random
X
Y
Generate
Rules
Sum
Random
Program
Least-Squares Crossing Lines in Matlab
Homework Solution
$75.00
Matlab
Mathematics
Computer Science
XY Plane
Data in Space
Configuration
Output
Input
Line Errors
Uniform Distribution
Numerical Codes
Planar Points
Nearly Crossing Lines
Codes
Statements
Loops
Variables
Skew Lines
Least-Square Focal Poi
The Mass-Spring System
Homework Solution
$60.00
Matlab
Mass
Initial Value
Spring
Motion
Harmonic
Oscillation
Mass-Spring System
ODE
Damping
Ode45
Equilibrium
Hemisphere Problem in Matlab
Homework Solution
$18.00
Hemisphere
Mathematics
Matlab
Computing
Geometry
Figures
Volumes
Radius
Dimensions
Input
Output
Statements
VariablesTables
Scripts
Algorithms
Spacecraft Problem in Matlab
Homework Solution
$25.00
Mathematics
Computer Science
Spacecraft
Velocity
Derivatives
Input
Output
Acceleration Elements
Low Earth OrbitFunctions
Vectors
Time
Partials
MATLAB Exercises
Homework Solution
$23.00
Mathematics
MATLAB
Exercises
Command
Plot
Equation
Function
Graph
Get help from a qualified tutor
Live Chats