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

Jan
Jan 2011년 11월 30일
Reading the Getting Started chapters of the documentation is a good idea. All necessary basics are explained there.

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2011년 11월 30일

0 개 추천

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

Sean de Wolski
Sean de Wolski 2011년 11월 30일
and mrdivide to find the size of x

댓글을 달려면 로그인하십시오.

Rushi Auti
Rushi Auti 2020년 7월 28일

0 개 추천

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';

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2011년 11월 30일

답변:

2020년 7월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by