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

Mathematics Questions
Homework Solution
$100.00
Mathematics
Matlab
Taylor
Polynomial
Newton-Raphson
Model
Hessian
Laplace
Neumann
Spacecraft Problem in Matlab
Homework Solution
$25.00
Mathematics
Computer Science
Spacecraft
Velocity
Derivatives
Input
Output
Acceleration Elements
Low Earth OrbitFunctions
Vectors
Time
Partials
Hemisphere Problem in Matlab
Homework Solution
$18.00
Hemisphere
Mathematics
Matlab
Computing
Geometry
Figures
Volumes
Radius
Dimensions
Input
Output
Statements
VariablesTables
Scripts
Algorithms
Equations in Matlab
Homework Solution
$80.00
Mathematics
Computer Science
Matlab
Nonlinear Equations
Newton-Raphson Method
Termination Conditions
Gaussian Elimination
Built-In Commands
Variables
Statements
Cos
Tanh
M-Files
Arbitrary Systems
MATLAB Exercises
Homework Solution
$23.00
Mathematics
MATLAB
Exercises
Command
Plot
Equation
Function
Graph
The Mass-Spring System
Homework Solution
$60.00
Matlab
Mass
Initial Value
Spring
Motion
Harmonic
Oscillation
Mass-Spring System
ODE
Damping
Ode45
Equilibrium
Get help from a qualified tutor
Live Chats