08-31-2009 08:53 PM
Hi,
1) I was trying to input two array's to a matlab script. One is a 2x2 and the other one is 1x2. I am using Real Matrix for this purpose.
But i am getting some errors ( related to matlab script ).
The problem is with the input (Real Matrix).( because, if i give the same matrix inside matlab script, it works perfectly fine).
Please have a look into the snap shot. Please let me know the correct usage of this.
2) How can i display 2 dimensinal graphs? ( I used Waveform Graph and chart) But did not get the output.
Basicaly i am solving pattern classification problems and want to display contour graphs.
Thanks,
Kishore.
08-31-2009 09:19 PM
08-31-2009 09:51 PM
Sorry 🙂
Please find it in the attachment.
09-01-2009 12:36 PM
09-01-2009 01:16 PM
rebelstar wrote:Hi,
1) I was trying to input two array's to a matlab script. One is a 2x2 and the other one is 1x2. I am using Real Matrix for this purpose.
Based on what I see from the picture both matrices are 2D. "Sigma" is 4x4 and "Real matrix" is 3x2. I think you're confusing the Index Display controls with the size of the array. Those numeric controls do not set the size of the array. They set which element is visible in the top-left corner. Please brush up on arrays and matrices in the LabVIEW Help
09-01-2009 07:18 PM
Hello,
Thanks for the reply, the problem is now overcome.
Also, i am still unclear about plotting the contour plot equivalent in Labview
In matlab i use the statement
h = ezcontour(@(x,y)pdf(obj,[x y]),[-4 6],[-4 6]);
But this returns a scalar quanity. I cannot use this from matlab scriptto plot the graph.
Is there something in labview which i can use?
Thanks
09-02-2009 11:53 AM
09-02-2009 05:45 PM
The "h" return value is just the handles to the contour objects, so that's not going to do you any good.
As far as contour plots in LabVIEW, I've seen examples posted in the past, so a search should yield some possible methods. You would really need to look at them to see if they're close to what you're trying to achieve.
09-02-2009 05:53 PM