create_lowpass_data

 

Description

Generate lowpass Responses data.

Syntax

int create_lowpass_data( int nSize, double * pResponse, double dFc1 )

Parameters

nSize
[input] number of points of the lowpass Responses data
pResponse
[output] the result of lowpass Responses data
dFc1
[input] the lower bound of the frequency(has been normalized, so 0<dFc1<0.5).

Return

Returns 0 for success or error codes for failure.

Examples

EX1

#include <..\OriginLab\fft.h>
void create_lowpass_data_ex1()
{
    vector vRes(8);
    create_lowpass_data(8, vRes, 0.3);
}

Remark

See Also

create_highpass_data

header to Include

fft.h

Reference