chau8970的个人博客分享 http://blog.sciencenet.cn/u/chau8970

博文

按标题搜索
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|4836 次阅读|没有评论
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|5354 次阅读|没有评论

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

GMT+8, 2024-5-7 04:49

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部