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.
DFT to DCT???
Hi
assume that your signal is u(n) for n=0,1,...,N-1
& that DCT{u(n)}=v(k) for k=0,1,...,N-1
now define s(n) such that:
s(n)=u(2n) ]
] for n=0,1,...,N/2 -1
s(N-n-1)=u(2n+1) ]
now it is shown that...
Local peak in Matlab
Hi Nab
I will appreciate if you upload a file containing your data.
(you can use this code to generate it):
%--------------------------------
D=[..];% your data
fid=fopenf('file_name','wt') %open file if not
%available make it...
LZW technique
Hi
i refer you to "digital image processing with MATLAB"
by Gonzalez & Woods
i cant recall # of related chapter ,but its the chapter which discusses IMAGE COMPRESSION.
well i think uploading the book is illegal here.
but you may find it via web for free.(not really legally!!)...
Hi
thanks to Tzushky for his/her deep insight about the problem
I think I have to clarify my last post.
I used the following well known procedure:
1)multipled both numerator & denominator by z^8
2)ordered new numerator & new denominator
3)used only first 2 coefficients of numerator & first...
Hi
I agree with tzushky, original signal contains Low frequency content which caused the drift.
this is the usual case when processing Biomedical signals & low freq. content is due to "MOTION ARTIFACT".
first of all use a LP filter to omit DC of your signal.
the result will have zero...
Local peak in Matlab
Hi
I dont know any simple orders in MATLAB for to find local maxima
but maybe :
FIRST LP YOUR DATA,say D
then:
D=[...] %array of your data
C=der(D) % first derivative of your data
C(C<Th & C>-1*Th)=0 % set zero small values
find(C==0)
the latest order will give you...
Hi
well;there is a simple way,BUT result is different(!)
as you know :
N(z)/D(z)=sum(ai*z-i,i=-infinite:infinite)
i.e. dividing numerator to denominator will give you the coefficients.
Z^8 x (2Z^-8+...)/[Z^7 * (Z^-8+...)]=
(4Z^8 - 2Z^5 +...)/(-4Z^5 + 2Z^3)
4 Z^8 - 2 Z^5 +... |__ -4...
zeros
Hi
well here are some few things I can still remeber(!)
I hope it helps.
in control engineering ,most of times ,
zeros are added to a system to stabilize it;
& to improve transient response of a system.
zeros do not have a simple interpretation just like poles.
also zeros delays the...
Matlab help
hi Ali
passing arguments from function F1 to F2 in MATLAB:
assume that you want to pass variable V1 from F1 to F2
you can declare V1 as a global variable at all places that you use V1:
%-------------------
function ..=F1(...)
..
global V1
V1=5;
...
end
%------------------
and use...
Hi
"Digital Image Processing" by Gonzalez & Woods
is an easy one.
"Fundamentals of Digital Image Processing" by
Anil Jain
is very impressive but a little old. 1989(?)
besides there are many useful links on web
e.g. https://ee.sharif.edu/~miap/
contains good survey papers,which you may...
Hadamard Transform
Hi
WHT : Walsh Hadamard Transform
I have uploaded basis images of WHT for case N=4;
we have 16 ,4x4 basis Hadamard images.
our original 4x4 image is projected on basis images & corresponding WHT coefficient are obtained.
Properties of WHT:
1)WHT is a vary fast transform...
PULSE INTEGRATION
Hi
assume that your deterministic signal say X(t) has a period of T.
and assume that each time you repeat X(t) ,an additive noise is added to X(t) ,say Ni(t) and you will have Yi(t); where i is the index of the corresponding interval and
Yi(t)=X(t)+Ni(t)...
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.