I have a curve here which I have to deconvolve it into many other curves with different peaks. The resault is this in another program:
That is I have to deconvolve one curve in 4 curves in Matlab! I want to do the same thing in Matlab but I failed!
clc
clear all
D398=importdata('J398.txt');
D398=flipud(D398);
X1=D398(:,1); Y1=D398(:,2);
[X,Y]=deconv(X1,Y1);
plot(X1,Y1)
hold on
plot(X,Y,'r')
set(gca, 'XDir','reverse')
grid on
But it is not correct! Is that possible to do this in Matlab ?