%%%%% The code is developed to fit overlap peaks with the gaussian function. %%%%% Here we fit four peaks. It can be easily extended to any number of peaks. %%%%% Date: 15/May/2021 clear clc close all set(gcf, 'unit' , 'centime ...
%%%%% The code is developed to generate colormap with given colors. %%%%% date: 2021 May 14 clear clc close all = meshgrid(1:0.1:10,10:0.1:20); Z = (sin(X).*cos(Y)+0.97)*21; surf(X,Y,Z); % plot a 3D figure aa= /255; ...