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
 Square Wave Fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

fliozzi

Argentina
6 Posts

Posted - 07/03/2011 :  4:13:25 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver 8.5.1 SR2 (Demo)
Operating System: Windows 7 Ultimate x64.

Hello, I need to fit a square signal taken from the oscilloscope. There is some function to set this type of signal, or there is some way to do this.
Thanks.

I`am electronic engineering student.

Hideo Fujii

USA
1582 Posts

Posted - 07/05/2011 :  4:15:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi fliozzi,

Maybe you can create your own user-defined function - a combination of a trigonometric function and rounding (to the integer) function such as:

y=a*nint((sin(b*x+c)+1)/2)+d

(Note that nint is a function which gives the nearest integer.)

Dis it work?

--Hideo Fujii
OriginLab
Go to Top of Page

fliozzi

Argentina
6 Posts

Posted - 07/05/2011 :  6:18:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You're right. Thank you very much.

I`am electronic engineering student.
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