Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 396291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:32:16+00:00 2026-05-12T16:32:16+00:00

Suppose I have an arbitrary transformation matrix A such as, A = 0.9966 0.0007

  • 0

Suppose I have an arbitrary transformation matrix A such as,

A =

    0.9966    0.0007   -6.5625
    0.0027    0.9938    1.0598
         0         0    1.0000

And a set of points such that their x and y coordinates are represented by X and Y respectively.

And suppose,

[Xf Yf] = tformfwd(maketform('projective',A),X,Y);

Now,

[Xff Yff] = tformfwd(maketform('projective',inv(A)),Xf,Yf);
[Xfi Yfi] = tforminv(maketform('projective',A),Xf,Yf); 

[Xff Yff] and [Xfi Yfi] seem to be exactly the same (and they should).

Is tforminv just there for convenience or am I missing something here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T16:32:17+00:00Added an answer on May 12, 2026 at 4:32 pm

    I’ll preface this by saying it is my best guess…

    It’s possible that tforminv may perform the transformation without actually forming the inverse matrix. For example, you can solve a system of linear equations Ax = b in two ways:

    x = inv(A)*b;
    x = A\b;
    

    According to the documentation for inv, the second option (using the matrix division operator) can perform better “from both an execution time and numerical accuracy standpoint” since it “produces the solution using Gaussian elimination, without forming the inverse”. tforminv may do something similar and thus show better overall behavior compared with passing the inverse matrix to tformfwd.

    If you were so inclined, you could probably try a number of different transformation matrices and test the two approaches (tforminv or tformfwd and inv) to see how accurate the results are and how fast they are each computed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have an arbitrary set of files included in the Main App Bundle.
Suppose I have an enum with arbitrary increments between contents. Like so: typedef enum
Suppose I have a simple model, such as Record: @Model public class Record {
Suppose we have some arbitrary positive number x . Is there a method to
Suppose I have a function that does something on an arbitrary container type (C++11):
How can I remove an arbitrary item from a priority queue. Suppose I have
Suppose we have an arbitrary graph represented by nodes and pointers like this: class
Suppose I have a collection (of arbitrary size) of IQueryable<MyEntity> (all for the same
Suppose we have an arbitrary string, s . s has the property of being
Suppose I have a simple WPF 3D scene set up with a single rectangle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.