필터 지우기
필터 지우기

How to find a standard matrix for a transformation?

조회 수: 5 (최근 30일)
Walter Nap
Walter Nap 2017년 10월 4일
편집: Matt J 2017년 10월 5일
How could you find a standard matrix for a transformation T : R2 → R3 (a linear transformation) for which T([v1,v2]) = [v1,v2,v3] and T([v3,v4-10) = [v5,v6-10,v7] for a given v1,...,v7? I have been thinking about using a function but do not think this is the most efficient way to solve this question. Could anyone help me out here? Thanks in advance. Walter
  댓글 수: 1
Jan
Jan 2017년 10월 4일
Using a function or not is not the question here. It does not matter if you calculate this in a function or directly in the code.

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

채택된 답변

Roger Stafford
Roger Stafford 2017년 10월 4일
Assuming the transformation is homogeneous - that is, it leaves the origin fixed - what you have here is six linear equations with six unknown coefficients. Just use standard matlab methods for solving them.
If the transformation is not necessarily homogeneous, then you don’t have enough information for a solution. You would need three instead of the two equalities above.
  댓글 수: 3
Roger Stafford
Roger Stafford 2017년 10월 5일
Yes, Matt, you are right. This is a difference between linear transformations and linear equations.
Walter Nap
Walter Nap 2017년 10월 5일
Thank you very much for the answer, but the problem here is that I know perfectly fine how to do this by hand (at least, we have learnt to transform the input vectors into elementary vectors [1,0,0], [0,1,0] etc.). But have a problem doing this in computer language. 'Just use the standard matlab methods' is not that standard for me. I just started using the program and have trouble with especially transformations.

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

추가 답변 (1개)

Matt J
Matt J 2017년 10월 4일
T=[v1,v2,v3;v5,v6-10,v7].'/[v1,v2; v3,v4-10].'
  댓글 수: 2
Walter Nap
Walter Nap 2017년 10월 5일
Thank you for your answer, but why do you have to take the transpose of both x and T(x)? Thank you
Matt J
Matt J 2017년 10월 5일
편집: Matt J 2017년 10월 5일
So that x and T(x) represent column vectors. Personal choice...

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

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by