04-07-2012 06:02 AM
I have a 1x6 matrix of data points that I want to manipulate. The equation I need to operate on them is 10ln(x)+10, where x is the data input. The problem I'm having now is to get the 1x6 matrix of ln(x). I've tried using the Natural Logarithm VI but it didn't work. I also tried trying to calculate element by element but couldn't get it to work either.
Solved! Go to Solution.
04-07-2012 10:24 AM - edited 04-07-2012 11:13 AM
In LabVIEW, a matrix is a special datatype and will substitute a matrix specific function for the lograrithm which requires a square input matrix and provides a complex result. Your matrix is not square! Did you even look at the help details?
If you want to do simple elementwise operations, I would recommend you use a plain 1D array instead and things will fall into place. Try it!
See attached modification.