matlab与学习数学
为了学习高等数学,概率,复变,线性代数提高兴趣,打算用一款数学软件作为辅助,这个想法现实可行吗?如果可行的话,又如何把matlab与这几门课程紧密结合起来,有没有很好的实...
为了学习高等数学,概率,复变,线性代数提高兴趣,打算用一款数学软件作为辅助,这个想法现实可行吗?如果可行的话,又如何把matlab与这几门课程紧密结合起来,有没有很好的实例,或者是book,教程?
展开
1个回答
展开全部
《精通matlab6.5》或《精通matlab7.0》等入门级的书籍。
例子
【1.1】高数z=x^2/4-y^2/9,马鞍形的图形。只需
>> ezmesh('x^2/4-y^2/9')
即可得到三维图形
http://hi.baidu.com/chemical%5Fengineering/album/item/33c862d0940b158ea0ec9c9d.html
【1.2】积分:y=∫x^2*ln(x)dx
>> y=int('x^2*log(x)')
y=1/3*x^3*log(x)-1/9*x^3
...
【4】线性代数,求矩阵A的逆。
A =
[ a11, a12, a13]
[ a21, a22, a23]
[ a31, a32, a33]
>> inv(A)
ans =
[ (a22*a33-a23*a32)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), -(a12*a33-a13*a32)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), (a12*a23-a13*a22)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22)]
[ -(a21*a33-a23*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), (a11*a33-a13*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), -(a11*a23-a13*a21)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22)]
[ (a21*a32-a22*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), -(a11*a32-a12*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), (a11*a22-a12*a21)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22)]
很方便了。
例子
【1.1】高数z=x^2/4-y^2/9,马鞍形的图形。只需
>> ezmesh('x^2/4-y^2/9')
即可得到三维图形
http://hi.baidu.com/chemical%5Fengineering/album/item/33c862d0940b158ea0ec9c9d.html
【1.2】积分:y=∫x^2*ln(x)dx
>> y=int('x^2*log(x)')
y=1/3*x^3*log(x)-1/9*x^3
...
【4】线性代数,求矩阵A的逆。
A =
[ a11, a12, a13]
[ a21, a22, a23]
[ a31, a32, a33]
>> inv(A)
ans =
[ (a22*a33-a23*a32)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), -(a12*a33-a13*a32)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), (a12*a23-a13*a22)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22)]
[ -(a21*a33-a23*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), (a11*a33-a13*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), -(a11*a23-a13*a21)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22)]
[ (a21*a32-a22*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), -(a11*a32-a12*a31)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22), (a11*a22-a12*a21)/(a11*a22*a33-a11*a23*a32-a21*a12*a33+a21*a13*a32+a31*a12*a23-a31*a13*a22)]
很方便了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询