T O P I C R E V I E W |
gjes |
Posted - 05/04/2010 : 10:47:37 AM Origin Ver. and Service Release (Select Help-->About Origin): Operating System: Hello everyone, I have a small question.How can I find a maximum/minimum value of a matrix? Thanks! |
4 L A T E S T R E P L I E S (Newest First) |
larry_lan |
Posted - 05/06/2010 : 04:03:29 AM Please update your Origin 8 to SR6.
Thanks Larry |
gjes |
Posted - 05/05/2010 : 07:15:50 AM quote: Originally posted by larry_lan
Use the max and min function.
If find the maximum value on the current active matrix sheet, type
max(MatrixWindowName) =
in script window. If find the minimum value on specified matrix sheet, you'd better use range variables. Such as:
range rm = [mbook1]msheet1!1; ty "The minimun value of the matrix is $(min(rm))";
Please refer to our LabTalk help for more information.
Thanks Larry OriginLab Technical Services
Thanks! Larry. I have tried your method: MAX(MBOOK8)= but it returns the firtst data point(1st row and 1st col),I don't know why. |
larry_lan |
Posted - 05/05/2010 : 04:18:23 AM Use the max and min function.
If find the maximum value on the current active matrix sheet, type
max(MatrixWindowName) =
in script window. If find the minimum value on specified matrix sheet, you'd better use range variables. Such as:
range rm = [mbook1]msheet1!1; ty "The minimun value of the matrix is $(min(rm))";
Please refer to our LabTalk help for more information.
Thanks Larry OriginLab Technical Services |
gjes |
Posted - 05/05/2010 : 03:46:17 AM sorry!The version of Origin: Origin Ver. and Service Release (Select Help-->About Origin):Origin8Pro Operating System:WinXP |