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
 All Forums
 Origin Forum
 Origin Forum
 Make the ratio between two with different X-axis

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
alexduf42 Posted - 05/22/2018 : 03:42:35 AM
Hi, i have two sets of data, but each of them have a different X-axis, one is one measure for one second, and the other one is one measure for ten seconds. I want to know if it is possible to make the ratio between those measures, taking only one value each 10 seconds in the first case.

Thanks
3   L A T E S T    R E P L I E S    (Newest First)
Drbobshepherd Posted - 05/23/2018 : 5:33:40 PM
Alex,

Instead of reducing rows of the larger set to match the smaller, you could interpolate the smaller set to match the larger. You could:

(1) execute a script using one of the interpolation X-Functions, or

(2) simply use the Set Column dialog. I always liked this technique for its simplicity.

Select the column for the new Y values. Open the Set Column dialog and define Col = oldY(newX), where newX is the column with the X-values I want the column labeled "oldY" interpreted at.

You see, in Origin notation, the parentheses mean to linearly interpolate oldY at the floating point datum newX. Square brackets would mean newX is a counter.

I often did this to generate tables of flight test data when sensors did not have identical sample rates.

DrBob
alexduf42 Posted - 05/22/2018 : 05:50:13 AM
Thanks the "reduce rows" worked perfectly
yuki_wu Posted - 05/22/2018 : 05:15:47 AM
Hi,

Origin has a tool for delete rows according to a user-defined pattern. Please take a look at this knowledge base item and see if this applies to you:
https://www.originlab.com/doc/Origin-Help/reduce-rows
https://www.originlab.com/doc/Tutorials/Data-Reduction

Hope it helps.

Regards,
Yuki
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000