该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


You can store your own operations in macros. See “Macros” on page 245 in the “Programming Methods” chapter. Similarly, you can create custom matrix functions. For example, you can make your own matrix operation called Mag() to find the magnitude of a vector, as follows:
Similarly, you could create a function called Normalize to divide a vector by its magnitude, as follows: