Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
No need to do such complicated stuff. Just typecase using (int)
float f;
int i;
f = 10.5;
i = (int)f;
converts the float which is stored using floating point notation by C into a fixed point number.
I am not sure if you want to do this, or a program which accepts a floating point number as...
hey, It wasn't very difficult to analyze how it works once you have aligned the code properly and then debug it step by step for 1 particular polynomial.
Here's how it works:
1) first we find the roots of the polynomial
2) There is a while loop which runs for each root.
3) If the root is...
cascade rc filter
Since the two filters are in cascade, the frequency response of the combination is the product of individual frequency responses.
eg: H(w) = 1/(1+jwR1C1) * 1/(1+jwR2C2)
If you know the values of R1,R2,C1,C2 the plug those into this equation and simplify it to get something...
This is a very simple project and it becomes simpler if using MATLAB Simulink. I had done the same thing. There is a simulink simulation called "lmseq". Try running it. It does the same thing that you are asking for. You will understand the concept better by running the simulation a couple of...
When you take a 2D fft of an image, you get information regarding spatial frequencies (i.e., how the pixel values are repeating from pixel to pixel), but there is no information regarding color. So you cannot use FFT for this purpose.
Instead what you can do is, in the spatial domain "yellow"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.