Matrix

Hi,

How can I make a matrix from XYZ data?

Thanks

tmc
tmc wrote:
Hi,

How can I make a matrix from XYZ data?

Thanks

tmc


You can create a wave (matrix) using the Make operation. Use the /N flag to specify the dimensionality of the wave.

You'll have to provide more information about what you are trying to do if you want more specific help.
tmc wrote:
Hi,

How can I make a matrix from XYZ data?

Thanks

tmc


If your data are actually sampled on a rectangular grid, you can use Data->Redimension to change your Z wave into a matrix. Be sure that the number of rows in your Z data is the same as rows*columns for the matrix.

If your data are randomly sampled XYZ triplets, then you might use the XYZtoMatrix procedure file. Put this line in your Procedure window:

#include <XYZtoMatrix>

then close the Procedure window. More easily, you can go to Windows->Help Windows->WM Procedures Index.ihf. You will find lots of useful stuff there, and the buttons make it easy to load the procedure files. The buttons also show you the procedure file window after it's loaded- there are usually comments about how to use the procedure.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com