필터 지우기
필터 지우기

hi everry one , this program is filter ? if it is filter what is the type of filter ? (YOU CAN ADD SOME COMMENT )

조회 수: 1 (최근 30일)
global nfile A flag
[fil pth]=uigetfile('.dat','Enter File Name Wich You Want to Work')
file=[pth fil];
fid=fopen(file,'r');
nfile=fread(fid);
nfile=imresize(nfile,[183 1]);% it is for compression?
axes(handles.axes1)
plot(nfile,'-'), title('Original Signal')
figure(1),plot(nfile,'-'), title('Original Signal')
z=zeros(100,1);
A=[z;nfile;z]; %it is filter?
axes(handles.axes2)
plot(A,'-'),title('Original Signal With Pad')
figure(2),plot(A,'-'),title('Original Signal With Pad')
flag=2;

답변 (1개)

Image Analyst
Image Analyst 2016년 12월 7일
It's not a filter. It simple resizes the signal to be exactly 183 elements long and slaps 100 zeros on either end of it. I don't know why they wanted/needed to do that. The only way you could say it was a filter was if the signal was longer than 183 elements and you squeezed it down - that's like a low pass filter but I don't think their intent was so much low pass filtering as it was resizing.
  댓글 수: 9
serhat dag
serhat dag 2017년 1월 3일

Do you have slution of Medical Imaging Signals and Systems-(Jerry L. Prince Jonathan M. Links)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Filter Banks에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by