Inverse 3D plot

조회 수: 3 (최근 30일)
Haider al-kanan
Haider al-kanan 2016년 5월 6일
편집: Haider al-kanan 2020년 10월 24일
I want to inverse surface z , z=f(x,y).suc

채택된 답변

Walter Roberson
Walter Roberson 2016년 5월 6일
This is not well-defined in the way you stated it. z takes two parameters, but inverse takes one parameter. inverse would have to emit two parameters separately.
It would be more consistent if you had two functions, inversex and inversey, and you required
z(inversex(z),inversey(z)) = z
This just might be possible, I guess. But you would not be able to require that
inversex(z(x,y)) == x and inversey(z(x,y)) == y
You would need to allow the inversex and inversey to map to any (x,y) location that would produce the same z.
For example, if z = x^2 + 0*y, then inversex() could return either the positive or negative square root of x, and inversey() could return anything, because z() of that combination together would be 1, but there is no formula that, given (say) 17, can tell you whether that came from x = -sqrt(17) or x = +sqrt(17).

추가 답변 (1개)

CS Researcher
CS Researcher 2016년 5월 6일

In 2-D you can visualize the transformation as a matrix multiplication. If I is your matrix (x,y), you apply the transformation using a matrix A (it could be rotation, translation, etc.). The transformed matrix becomes

J = AI

If you apply $A^{-1}$ on J you get

 A^{-1}J = A^{-1}AI = I

Since inverse of an invertible matrix (check it out) multiplied by the matrix gives you identity matrix.

Were you looking for something like this?

  댓글 수: 1
Haider al-kanan
Haider al-kanan 2016년 5월 7일
Thanks for comment, but I don't think that works, here is my question x=0:0.1:10; y=0:0.1:10; [xx,yy]=meshgrid(x,y); zz=xx.^2-yy.^2; I am not sure if your suggestion works on that, could you please clarify to me how is that works?

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

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by