正在加载图片...
Matlab计算与仿真 Matlab编程(续) function s= threesum(x, y, z) 2: threesum Add three variables 3: and return the result 4:5=X+y+z; 1: function [s, P]=addmult(x,y) 2:% addmult Compute sum and product 3: of two matrices 4:s= 5 p=×"y 中山火學Matlab计算与仿真 Matlab编程 (续) 1: function s = threesum(x,y,z) 2: % threesum Add three variables 3: % and return the result 4: s = x+y+z; --------------------------------------------- 1: function [s,p] = addmult(x,y) 2: % addmult Compute sum and product 3: % of two matrices 4: s = x+y; 5: p = x*y;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有