科学网

 找回密码
  注册
Matlab 高斯拟合多个峰
黄孙超 2021-5-15 18:00
%%%%% 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 ...
个人分类: Matlab codes|4904 次阅读|没有评论
Matlab 自定义颜色表 colormap
黄孙超 2021-5-14 17:56
%%%%% 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; ...
个人分类: Matlab codes|5376 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-19 12:13

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部