04-30-2010 01:50 AM
Hi Friends,
I am having one Matrix X of order mxn. I need to perform this operation.
Variable Y= X- (Mean of X) .
The mean of Matrix is a column matrix. how to solve this equation. The matrix size can vary dynamically.. how to solve this equation. Please help me out
04-30-2010 02:52 AM
Hi deepak.aamecece,
you can use the MEAN.vi. It works with arrays.
Mike
04-30-2010 03:13 AM
04-30-2010 03:59 AM
04-30-2010 04:03 AM
Mathematically speaking, you cannot subtract a column matrix from a "rectangle" matrix. You may add or subtract only with equal size matrices.
What do you mean with X- (Mean of X)?
05-02-2010 11:43 PM
Hi...
Let X is a matrix of size 4x4. The mean of (X) is a Column matrix. I know it is not possible in mathematics... but I need to subtract this for the application need... How to do this?
05-03-2010 12:05 AM
05-04-2010 05:36 AM
05-04-2010 05:41 AM
Hi deepak.aamecece,
can you please show your solution, to help to understand what we missed with all the trials to help you?
Thanks in advance
Mike
05-04-2010 05:58 AM
Hi Friends.. I solved like this... Please find the attached jpg file....What i did is: matrix X is 4x4 matrix. Mean of Matrix X is a Column matrix. I separated the first column of a matrix X. I subtracted from Column matrix and i appended back the result to the original matrix..
Thank you one and all for your effort you had taken to help me in this regard.