Why Am I Getting an Undefined Function Error for 'double' in QR Factorization?

  • Thread starter Thread starter andrea141
  • Start date Start date
  • Tags Tags
    Error
andrea141
Messages
1
Reaction score
0
Error message using 'double' ??

I'm writing a function with the algorithm to compute the QR factorization of the matrix A, when I go to use my function and input a matrix A I get the error message

Undefined function or method 'qrfac' for input arguments of type 'double'

and I have no clue what I'm doing wrong. Help please!

Andrea
 
on Phys.org


andrea141 said:
I'm writing a function with the algorithm to compute the QR factorization of the matrix A, when I go to use my function and input a matrix A I get the error message

Undefined function or method 'qrfac' for input arguments of type 'double'

and I have no clue what I'm doing wrong. Help please!

Andrea

You haven't provided much information, but from the error message, you are probably not providing the right types of arguments to qrfac. Look at the documentation for qrfac, and make sure that the arguments in your call to qrfac are the same types as it expects.

Is this fortran code you're writing?
 


I have identical problem on MATLAB 7.10.0 (R2010a):

Q =

0.4472 0 0 0 0
0.4472 1.0000 0 0 0
0.4472 0 1.0000 0 0
0.4472 0 0 1.0000 0
0.4472 0 0 0 1.0000

[QQ,RR,EE]=QR(Q)
? Undefined function or method 'QR' for input arguments of type 'double'.

any clue?
 


patiobarbecue said:
any clue?
Use qr(Q) rather than QR(Q). Matlab's built-in function names are case sensitive.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
17K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
1
Views
18K
Replies
2
Views
8K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K