2017년 6월 1일 목요일

user-definedfunctionconv

user-definedfunctionconv
user-definedfunctionconv.hwp


본문
main function

close all;
clear all;
clc

profile on;

load data;
load filterCoeff;

X=data;
Y=filterCoeff; %편의상 변수바꿈.

%input 값들 표시
figure;
plot(abs(fftshift(fft(data)))); %주파수측 data 그래프
title( Original ); xlabel( Frequency Mhz ); ylabel( Magnitude );

figure;
plot(X) %시간측 data 그래프
title( Used Data ); xlabel( Samples ); ylabel( Magnitude );


하고 싶은 말
Design a user-defined convolution function using MATLAB
main function
user defined function
Compare the results from the user-defined and built-in functions

댓글 없음:

댓글 쓰기