The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Modify "Shrink matrix"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JRLCAR

7 Posts

Posted - 10/15/2019 :  03:34:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
I would like to change the binning of a matrix. I tried to use the "Shrink" function but it does the average of the cells and I would like to do the sum instead. Is there a way to modify the "Shrink" function ? Or an other way to change the binning of a matrix, that is to say regroup several cells in one cell equal to the sum of the original cells ?

Thank you in advance !

Shirley_GZ

China
Posts

Posted - 10/15/2019 :  06:20:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi JRLCAR,

Once you get the average values with "Shrink" tool, you can just multiply them by the "Col Factor" and "Row Factor" to get the sum of the block specified by "Col Factor" and "Row Factor".

https://www.originlab.com/doc/X-Function/ref/mshrink


Thanks,
Shirley


Originlab Technical Service Team
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000