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
 count maxima in each intervall
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Chrissab

Germany
5 Posts

Posted - 09/20/2013 :  10:38:47 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hey,

it's a very simple problem, but unfortunately I haven't solved it yet

I have Col(A) full of values ("0" or "1"); sampling intervall dx=0,001.
Now I want to count how many times the "1" is in each intervall with dx=1.

Hope you could help me! Thanks!

Hideo Fujii

USA
1582 Posts

Posted - 09/20/2013 :  3:24:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Chrissab again,

How about the following?

Like in your previous post:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=18824

you can choose "Average" for "Merged by Y" option in the "Reduce by Group" tool, instead of "Max". The total number of 1's in each bin should be gotten by multiplying the number of cells in a bin, in your case 1000 (=1/0.001). (You need to take care of the last bin if it doesn't fulfill the full bin size.)

--Hideo Fujii
OriginLab
Go to Top of Page

Chrissab

Germany
5 Posts

Posted - 09/20/2013 :  5:10:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hideo Fujii,

thanks, oh well really easy!! Currently writing my diploma thesis and origin is now the last little step of my work and the easiest things seem to be the hardest ones at the moment because of the lack of time
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