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
 Stretching curves - Normalizing in X?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

claudiodeviaje

Germany
Posts

Posted - 04/16/2006 :  09:42:47 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi everyone.
I'm havin a rather simple problem by analising some data, and you can probably help me.

I've done some measurements of braking times and got some curves I have to compare. The problem is that the brake time is different for every measure. Some curves are 60s long and some just 10s.
I was planning stretch the curve to the lenght of the longest (60s) and then compare them. I know that I'm going to lose the time-information, but this is not important. I need just the Y values of the curve.
The problem is that I havent found a function in Origin to do this. The only function I found was NORMALIZE, but ist normalizes the data in Y, and not the X-data...

Is there an easy way to do this?
Do you have some advice for me?

Thank you!!!!!

Claudio


Origin Version : 7,5
Operating System: win xp

Edited by - claudiodeviaje on 04/16/2006 09:55:08 AM

easwar

USA
1965 Posts

Posted - 04/16/2006 :  10:29:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Claudio,

Say the shorter measurement is in cols 1,2 of a worksheet.
You can then make that worksheet active and bring up the Script Window (menu item Window|Script Window) and type the following command and press Enter key:
col(1) *= 6
This will scale x col by 6.

You could do linear transformation such as
col(1) = 1.5 + col(1) * 6
etc

Easwar
OrignLab


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