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
Topic
fliozzi
Argentina
6 Posts
Posted - 07/03/2011 : 4:13:25 PM
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
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
fliozzi
Argentina
6 Posts
Posted - 07/05/2011 : 6:18:31 PM
You're right. Thank you very much.
I`am electronic engineering student.
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000