Sorry.... for error in posting the code
Code is :
#define re(c) ((c)[0]) ///< real part of a complex number as defined by fftw_complex in fftw
#define im(c) ((c)[1])
#include <fftw3.h>...
Type: Posts; User: stiltz
Sorry.... for error in posting the code
Code is :
#define re(c) ((c)[0]) ///< real part of a complex number as defined by fftw_complex in fftw
#define im(c) ((c)[1])
#include <fftw3.h>...
Hi all,
I am working with complex number and using fftw library ( FFTW Home Page ) to compute fft of some data. But when I am compiling my following simple piece of code , I am getting the above...
Hi all,
I am a new user of c language and I have written a program which just first stores the char values in memory then it reads and prints. Following is the code:
#include <stdio.h>...
OK. Let me explain the whole code. Following is the main method:
int main()
{
CBuffer cbuff;
linearADC_type adc;
int nbit = 4;
int n1,i;
float Vmax = 2 * 40;
So, i have done it in correct way ?? if so then why results are wrong
Hi everyone,
I am trying a little piece of code:
typedef struct {
unsigned int dim; ///< Dimension of the buffer
unsigned int head; ///< Head of the fresh data
unsigned int...
What do you mean by this line ?? and please can u suggest me some good reference material for these kind of things like pointers, arrays, structures etc. There is a lot of material available on web...
Thanks for reply but ... what I have got from your reply is that ,e.g., in my lines of code,
buffer[buff->head] means * (buffer + head) and buffer[0] means *(buffer) ...
is it so ?????
Hi Everyone,
I am a new user of C language. I have been given a c code of circular buffer to understand. Following is the one method of code:
unsigned int Fill_CBuffer(CBuffer * buff, FILE...