MATLAB Homework
Mostrar comentarios más antiguos
Can someone help me with this homework? I'm extremely new to MATLAB and have no idea how to do this.
1)Solve the equation Ax=b and answer the following questions
Where A=[1 2 3 4; 4 2 3 1; 4 3 1 5; 4 3 2 5]
b=[1; 2; 3; 4]
a)What are the dimensions of the x vector?
b)What is the solution vector?
2)Using the same A calculate A-transpose
a)What are the dimensions of A-transpose?
b) What i the A-transpose vector?
THANK YOU!
1 comentario
Jan
el 30 de Nov. de 2011
Reading the Getting Started chapters of the documentation is a good idea. All necessary basics are explained there.
Respuestas (2)
Image Analyst
el 30 de Nov. de 2011
0 votos
Hint: look up the size() function. And I'm sure if you looked up transpose in the help you'd find the apostrophe operator. A transposed would be another array, not a vector.
1 comentario
Sean de Wolski
el 30 de Nov. de 2011
and mrdivide to find the size of x
Rushi Auti
el 28 de Jul. de 2020
A=[1 2 3 4; 4 2 3 1; 4 3 1 5; 4 3 2 5];
b=[1; 2; 3; 4];
x = b/A
size(x)
P = A';
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!