N=28; x=zeros(1,28); D=4 f1=12 f2=16 x(11)=1; x(12)=2; Xd=downsample(x,4); zft=fft(xd sir this is my matlab code so after downsampling i need to do bucktization and then solve the liner system at the en
how we will do bucktization in matlab anyone have a code of bucketization process in matlab so please send me ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
irfan
am 18 Mär. 2016
Kommentiert: irfan
am 19 Mär. 2016
i want to do bucketization after downsampling and the solve that system.i am looking forward for your help
Akzeptierte Antwort
Image Analyst
am 18 Mär. 2016
What is bucketization? Do you mean quantization?
Have you tried just taking every nth element
downsampledSignal = signal(1 : n : end);
If you want some non-integer downsampling, try interp1() or interp2().
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!