[matlab入门] 无理数近似计算 taylor(f,n,a) a 是展开的位置 syms x taylor(log(x+1),10,2) 蒙特卡洛法 关键在于rand函数 rand(2,2,2) 上面代码能产生一个2x2x2 每个元素都在0-1之间的数组