1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Rashid [163]
3 years ago
5

"Create a Matlab Scrapt that will take the a Matrix A and Matrix B (of AX=B), then calculate the Determinant of Matrix A, Invers

e of matrix A , Solution vector X, Rank of Matrix of A, Eigen Values and Eigen Vectors of A. You should use det, inverse, inverse(A)*B, rank, and eig functions of Matlab. YOU NEED TO USE LOOP TO TAKE INDIVIDUAL ENTRY OF MATRICES A and B!"
Computers and Technology
1 answer:
prohojiy [21]3 years ago
4 0

Answer:

see explaination

Explanation:

function [] =

inverse(A,B)

da = det(A);

disp("The det of A is");

disp(da);

inva = inv(A);

disp("The inverse of A is");

disp(inva);

x = inva*B;

disp("The value of X is");

disp(x);

rk = rank(A);

disp("The rank of X is");

disp(rk);

Di = eig(A);

disp("The eigen values of A is");

disp(Di);

[V,Di] = eig(A);

disp("The eigen vectors of A are (Each column represents one column vector)");

disp(V);

end

A = [1,2;4,5];

B = [1,2;4,5];

inverse(A,B);

%ab = [num2str(t)," ",num2str(dx)," ",num2str(dy)];

%disp(ab);

You might be interested in
Each computer on a network requires a unique way to identify itself and to refer to other computers. This is accomplished by usi
pantera1 [17]

Answer:

True

Explanation:

<em>IP Address</em>: It is used to uniquely identify each device over the network.

3 0
3 years ago
While using clip art, how can Anna narrow her search to a specific collection?
konstantin123 [22]
Well where is she searching to find her stuff

5 0
4 years ago
Read 2 more answers
Assume that an int variable age has been given a value. Assume further that the user has just been presented with the following
jeka57 [31]

Answer:

No programming language stated.

I'll answer the question using C++ programming language

Explanation:

The code goes this;

.#include <iostream>

using namespace std;

int main()

{

string order; int age;

cout<<"Press S for hangar steak, red potatoes, asparagus"<<endl;

cout<<"Press T for whole trout, long rice, brussel sprouts"<<endl;

cout<<"Press B for cheddar cheeseburger, steak fries, cole slaw"<<endl;

cout<<"Please make your order";

cin>>order;

cout<<"Please what's your age";

cin>>age;

if(order == "S" || order == "T" || order == "B")

{

if(age <= 21)

{

if(order == "S")

{

cout<<"The Recommendation is Vegetable Juice";

}

else if(order == "T")

{

cout<<"The Recommendation is Cranberry Juice";

}

else if(order == "B")

{

cout<<"The Recommendation is Soda";

}

}

else

{

if(order == "S")

{

cout<<"The Recommendation is Cabernet";

}

else if(order == "T")

{

cout<<"The Recommendation is Chardonnay";

}

else if(order == "B")

{

cout<<"The Recommendation is IPA";

}

}

}

else

{

cout<<"Invalid Menu Selection";

}

return 0;

}

5 0
4 years ago
Help giving points mark BRAINLEST
Mamont248 [21]

Answer:

WAIT WHAT oh sorry loo what was the question

8 0
4 years ago
The dark side of communication involves interactions that are: Challenging; Difficult; Distressing; All of the above
Romashka [77]
When we engage in actions that are designed to sustain or preserve a relationship what is it called
6 0
4 years ago
Other questions:
  • What feature did we use to quickly apply the formatting shown in this image?
    9·1 answer
  • Printed versions of your presentation that contain the slides and blank lines below are called speakers notes
    11·2 answers
  • How do you compare text on different pages of a document?
    14·1 answer
  • Write a function called print_function that takes integer number as argument and prints the following pattern if input is 3
    14·1 answer
  • Complete the function to return the factorial of the parameter using recursion,
    10·2 answers
  • What are some example of popular music for teenagers
    8·2 answers
  • Explain the process of a for loop and how it is used in code
    9·1 answer
  • The Freeze Panes feature would be most helpful for which situation?
    6·1 answer
  • LAB: Parsing dates in M/D/Y format
    5·1 answer
  • Make a jingle about basic of photo editing<br>pls answer me asap​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!