数据类型的转化函数:
矩阵与cell的转化函数:
cell2mat
mat2cell
num2cell
cell与字符窜的转化函数:
cellstr
char
数值与字符窜的转化函数:
num2str
str2num
结构体与cell的转化函数:
struct2cell
逻辑处理:
logical
==,>=,<=,~=,||,&&,&,|
文件操作函数:
dir
ls
fopen fclose
fileparts
fullfile
feof
fgetl
fgets
strsplit
strrep
strcmp
findstr
find
mkdir
rmdir
exist
datestr(now,31)
xlsread xlswrite table2cell
diary diary on diary off
递归原理
错误处理:
warning
error
集合操作:
ismember
矩阵操作:
tabulate
sort
sortrows
flipud
max
min
sum
:
unique
randperm
优化:
parfor
:
矩阵重组函数:
repmat
reshape
permute
绘图函数:
hold on hold off
plot,subplot,或者,更高级的用法
set
title ylabel xlabel
saveas openfig
findall get
legend
eval
hist
条件循环:
while end
for end
if elseif else end
break
continue
以上每个函数的全部用法都要掌握,尤其是:,logical,矩阵,parfor,for,max,min,ismember,unique等等要掌握向量,矩阵操作,多个信息的同时获取。效率,速度会提升几十,几百倍。
对程序的逻辑的优化,数据结构的优化也非常的重要,使得节约计算,内存,便于向量化,矩阵化操作。
以上是作者的经验总结,后续会不断的更新,补充,热烈欢迎大家提出意见,建议!