Matlab矩阵运算

上传人:c****d 文档编号:243017691 上传时间:2024-09-13 格式:PPT 页数:9 大小:24KB
返回 下载 相关 举报
Matlab矩阵运算_第1页
第1页 / 共9页
Matlab矩阵运算_第2页
第2页 / 共9页
Matlab矩阵运算_第3页
第3页 / 共9页
点击查看更多>>
资源描述
单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,Matlab,矩阵运算,Z = zeros(2,4) All zeros,Z =,0 0 0 0,0 0 0 0,F = 5*ones(3,3) All ones,F =,5 5 5,5 5 5,5 5 5,1,矩阵的生成,u = 3; 1; 4,v = 2 0 -1,s = 7,u =,3,1,4,v =,2 0 -1,s =,7,2,A =,16 3 2 13,5 10 11 8,9 6 7 12,4 15 14 1,d = det(A) singular.,d = 0,e = eig(A),e =,34.0000,8.0000,0.0000,-8.0000,A + A,ans =,32 8 11 17,8 20 17 23,11 17 14 26,17 23 26 2,A*A,ans =,378 212 206 360,212 370 368 206,206 368 370 212,360 206 212 378,3,A+B,A-B,A*B A.*B,A/B A./B,AB A.B,AB A.B,A A.,4,x = (1:0.1:2);,logs = x log10(x),builds a table of logarithms. logs =,1.0 0,1.1 0.04139,1.2 0.07918,1.3 0.11394,1.4 0.14613,1.5 0.17609,1.6 0.20412,1.7 0.23045,1.8 0.25527,1.9 0.27875,2.0 0.30103,5,Heart rate Weight Hours of exercise per week For five observations, the resulting array might look like D =,72 134 3.2,81 201 3.5,69 156 7.1,82 148 2.4,75 170 1.2,mu = mean(D), sigma = std(D),mu =,75.8 161.8 3.48,sigma =,5.6303 25.499 2.2107,6,A = 1 2 3; 4 5 6; 7 8 9,A =,1 2 3,4 5 6,7 8 9,k = rank(A),b = trace(A),7,A = 1 2 3,1 2 3,1 2 3;,Z = null(A),Z =,0.9636 0,-0.1482 -0.8321,-0.2224 0.5547,8,Y = inv(X),Y = inv(X) returns the inverse of the square matrix X. A warning message is printed if X is badly scaled or nearly singular.,9,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!