正在加载图片...
MATLAB Lecture hool of mathematical Sciences xiamen Univers tp: /gdjpkc. xmu. edu.cn >>b1*b2 ??? Error using == times Inner matrix dimensions must agree a 8 al(a2) 0.7500-0.5000 0.25000.5000 >>a1\a28(a1)a2 ans 4. *Initializing with Built-in Functions MATLAB provides four functions that generate basic matrices All zeros nes All ones ra Uniformly distributed random elements rand Normally distributed random element s sin, Cos, tan, cot, sec sC rt, exp, log, log10, log2 abs, sign, round, fix, floor, ceil, sum, prod, max, min, mean sort, rand, randn eye, diag, triu, trilMATLAB Lecture 1  School of Mathematical Sciences Xiamen University  http://gdjpkc.xmu.edu.cn  Lec1­5  >> b1*b2 ??? Error using ==> mtimes Inner matrix dimensions must agree. >> b1.*b2 ans =  2  6  3 >> a1/a2 % 1  a1(a2)- ans = 0.7500 ­0.5000  ­0.2500  0.5000 >> a1\a2 % 1  (a1) a2 - ans =  2  2  1  3 4.  *Initializing with Built­in Functions  clock, date; sin, cos, tan, cot, sec, csc, asin, acos;  x.^a, sqrt, exp, log, log10, log2; abs, sign, round, fix, floor, ceil, sum, prod, max, min, mean; sort, rand, randn; eye, diag, triu, tril
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有