07-19-2018 07:11 AM
the command for eigenvalues and vectors of the single matrix gives the different result when compared with the Matlab command for the same. please solve the doubt.
07-19-2018 07:38 AM
Hi canzie,
when YOU have a doubt you should attach your VI, an image of the Matlab code and result.
You also should provide information about the amplitude of the differences of both results.
And ofcourse you should supply information about the data used for calculation (in the VI you want to attach)!
07-19-2018 12:47 PM
@GerdW wrote:
Hi canzie,
when YOU have a doubt you should attach your VI, an image of the Matlab code and result.
You also should provide information about the amplitude of the differences of both results.
And ofcourse you should supply information about the data used for calculation (in the VI you want to attach)!
No, not an "image" of Matlab code -- I don't want to have to type multiple lines of cryptic stuff to see what it does. Matlab is text, attach the code.
Bob "No Images, Please, We're Not British" Schor
07-20-2018 06:53 AM
Please find the following attachments:
1.matlab program to calculate eigenvalues and vectors
2. files for Matlab programs
3. LabVIEW program for the above Matlab program
4. csv files for LabVIEW program
I am unable to upload files for Matlab program. Then how can I do it?
please tell if you need any other information
07-20-2018 07:18 AM - edited 07-20-2018 07:21 AM
Hi canzie,
what about putting all files into just one ZIP?
Btw. your pca.vi is missing several subVIs, so don't forget to put them in the ZIP as well.
What about answering my questions?
(For those without Matlab on their PC: how else should we compare LabVIEW results with Matlab results?)
What is the expected result? Have you tried the algorithm with some wellknown and well-defined input data?
07-20-2018 07:25 AM
I am unable to attach rar extension files
07-20-2018 07:47 AM
.rar is not a good archive format except for 1337 people
please use a normal .zip archive (if you only have winrar installed, use either the windows internal archiving tool, or install something like 7-zip)
07-20-2018 07:48 AM
@canzie07 wrote:
I am unable to attach rar extension files
So don't. Take the files you want to send, put them in a Folder (or maybe they are already in a folder by themselves?). Right-click the folder, choose Send to, and choose "Compressed (zipped) folder". Attach the .zip file that results.
Bob Schor
07-20-2018 08:00 AM
07-20-2018 08:05 AM
Please find the attachment in my latest reply.
Matlab results are to be obtained through the LabVIEW program. But I am unable to obtain the Eigenvalues and vectors obtained from the Matlab program from the LabVIEW program.