参考:https://ww2.mathworks.cn/help/matlab/ref/num2str.html?searchHighlight=num2str&s_tid=doc_srchtitle num2str 将数字转换为字符数组 全页折叠 语法 s = num2str(A) s = num2str(A,precision) s = num2str(A,formatSpec) 说明 示例 s = num2str(A) 将数值数组转换为表示数字的字符数组.输出格式取决于原始值的量级.n
格式:n=norm(A,p)功能:norm函数可计算几种不同类型的矩阵范数,根据p的不同可得到不同的范数 以下是Matlab中help norm 的解释 NORM Matrix or vector norm. For matrices... NORM(X) is the largest singular value of X, max(svd(X)). NORM(X,2) is the same as NORM(X). NORM(X,1) is the 1