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 for Programming
 Forum for Origin C
 Window functions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Mike Buess

USA
3037 Posts

Posted - 06/14/2005 :  9:17:19 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR5
Operating System: XP

I'd like to try some of the OC window functions but am doing something wrong. For example, this won't do anything but it should at least compile...

#include <fft_utils.h>

void try_blackman_window()
{
vector vv(128);
BlackmanWin(vv,128); // Error, BlackmanWin@HAKA$HA was called...
//BlackmanWin(&vv,128); // Error, function call and declaration mismatch
};

What's the correct way to use the window functions?

Mike Buess
Origin WebRing Member

easwar

USA
1965 Posts

Posted - 06/14/2005 :  10:34:05 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mike,

Our apologies - looks like these prototypes were added prematurely to the header file and the functions themselves are not present in version 7.5 - they will be available in the next version.

Easwar
OriginLab


Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 06/15/2005 :  09:09:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks Easwar,

Luckily the eqs of four of those functions (Welch, Hanning, Hamming and Blackman) are given in the Origin Reference and are relatively easy to code from scratch. That should be enough for now.

Mike Buess
Origin WebRing Member
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