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

  • Home
  • SEARCH
  • 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 7585169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:06:38+00:00 2026-05-30T19:06:38+00:00

I am getting Warning: X is rank deficient to within machine precision. Adittionally, the

  • 0

I am getting Warning: X is rank deficient to within machine precision. Adittionally, the coefficients I am getting are complex numbers, even though the input is all real. Why is this happening? Any idea how to get out of this?

  • 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-30T19:06:39+00:00Added an answer on May 30, 2026 at 7:06 pm

    I suppose that your input vector has too many linearly dependent columns. Do a rank(input) and see what the output says. If it’s less than 8, you need to remove some of your independent variables that are found in your input matrix. Also, you may want to include more information on how you arrived at your input matrix like:

    input = [ fuel engine_speed fuel.*engine_speed ];  % or even
    input = [ x1 x2 x1.*x2 ];
    

    If you have a low rank matrix, try to find the dependent columns. Here’s a quick way, that I would recommend(I’m sure someone knows of a better):

    [R,jb] = rref(input);
    full_rank_input = input(:,jb);
    rank(input)
    

    Should give you a matrix with rank(full_rank_input) == num_columns.

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

Sidebar

Related Questions

I keep getting 'warning: control reaches end of non-void function' with this code: -
When I am running this program I am getting warning array subscript has type
I'm using set_cookie() on a site. After adding some functionality, I'm getting Warning: Cannot
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using
The warning I'm getting is: Warning: mysqli_result::fetch_array() expects parameter 1 to be long, object
Was getting deprecation warning message in the last version. Now I can't run the
I am getting this warning from FxCop: 'RestartForm' contains field 'RestartForm.done' that is of
I'm getting a warning: Return makes pointer from integer without a cast for this
I am getting a warning I do not fully understand every time I run
I'm getting this warning in my Output window (which doesn't affect functionality but I

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.