필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Hi everyone, could you help me for that comments is correct or not correct?, (You can add new 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]); % Signal compressed in a [183 1] array
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 use for low pass and high pass filter
axes(handles.axes2)
plot(A,'-'),title('Original Signal With Pad')
figure(2),plot(A,'-'),title('Original Signal With Pad')
flag=2;
  댓글 수: 1
Jan
Jan 2016년 12월 5일
If the code is correct or not depends on its purpose. Does it run without an error message? Does it create the wanted results? We cannot guess this, so you have to provide more information.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by