代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/457703/7319897
cpp ex0302.cpp
// ex0302.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
class complex
{
public:
complex() { real=imag=0; }
complex(double
www.eeworm.com/read/457222/7331523
c w_table.c
/*
w_table.c - Generate twiddle factor lookup table
*/
#include "icomplex.h"
#include
#define pi 3.1415926535897
void w_table
www.eeworm.com/read/457222/7331529
c exp7b.c
/*
exp7b.c - Example to test FFT (fixed-point)
Use Twiddle lookup-table method
*/
#include "icomplex.h"
#include "input7_i.dat" /* Experiment data */
extern void fft(comp
www.eeworm.com/read/455033/7378676
edp lapcomplexeigenvalue.edp
// laplace with matrix
verbosity=1;
mesh Th=square(20,20,[pi*x,pi*y]);
fespace Vh(Th,P2);
Vh u1,u2;
Vh ur,ui;
int n=u1.n;
complex[int] Bu1(n),Bu2(n);
complex[int] Au1(n),Au2(n);
complex
www.eeworm.com/read/455033/7379123
hpp lgmesh3.hpp
#ifndef LGMESH3_HPP
#define LGMESH3_HPP
// 3d
typedef FEbase * pf3rbase ;
typedef FEbaseArray * pf3rbasearray ;
typedef pair pf3r ;
typedef pair
www.eeworm.com/read/455033/7379397
cpp dfft.cpp
// Example C++ function "myfunction", dynamically loaded into "load.edp"
// ---------------------------------------------------------------------
// $Id: dfft.cpp,v 1.2 2008/07/23 20:11:51 hecht Exp $
www.eeworm.com/read/451716/7457661
m qpsk_mod.m
function [d] = qpsk_mod(b1,numbits) % qpsk modulation
%
% pairs of bits,b(i),b(i+1)are mapped to complex-valued modulation symbols d_symb=Re+j*Im
% modulation scheme: b(i) b(i+1)| Re |
www.eeworm.com/read/451712/7457837
m qpsk_mod.m
function [d] = qpsk_mod(b1,numbits) % qpsk modulation
%
% pairs of bits,b(i),b(i+1)are mapped to complex-valued modulation symbols d_symb=Re+j*Im
% modulation scheme: b(i) b(i+1)| Re |
www.eeworm.com/read/451442/7463745
cpp transfunctions.cpp
#include "Common.h"
void Modulation(IN int *DataBin, complex *TxSymbol)
{
//!!! 0 map to -1 and 1 map to 1
#if (BPS == 1) //BPSK
TxSymbol.real = (float)(2*DataBin[0] - 1);
TxSy
www.eeworm.com/read/450639/7479562
c spectrum.c
#include "netfone.h"
/*
** Instructions:
**
** First call buildtable to create the sin/cos tables.
** buildtable(ln) where ln is the log base 2 of the number of
** samples.
**