随笔分类 -  Matlab

摘要:符号运算时有些多项式的系数值接近于0,像这样 fun = 3.5753839759325595498222646101085e-49*x + 1.8367099231598242312011508394098e-40*y - 3.1684752276643959044089436923507e-34 + 555*z + 4*x*y 需要将其直接消掉,化简成这样 fun = 555*z + ... 阅读全文
posted @ 2017-12-19 19:28 VVingerfly 阅读(728) 评论(0) 推荐(0) 编辑
摘要:假如我们编写了一个积分通用程序,想使它更具有通用性,那么可以把被积函数也作为一个参数。在c/c++中,可以使用函数指针来实现上边的功能,在matlab中如何实现呢?使用函数句柄——这时类似于函数指针的一项功能。假如我们现在已经编写了一个辛普森方法积分的函数如下,我们要把函数作为参数传给它(当然啦,matlab早已经提供给我们非常牛x的积分函数了,这里只是个例子而已): function g=myi... 阅读全文
posted @ 2015-09-08 22:27 VVingerfly 阅读(15486) 评论(0) 推荐(0) 编辑
摘要:matlab tips and tricks and ...page overview:I created this page as a vectorization helper but it grew to become my annotated Matlab reading cache. In ... 阅读全文
posted @ 2015-08-11 21:56 VVingerfly 阅读(308) 评论(0) 推荐(0) 编辑
摘要:Matlab is a very useful programming environment, but it also has many inefficiencies. You might think that these are unavoidable, but in fact it is po... 阅读全文
posted @ 2015-08-11 21:49 VVingerfly 阅读(210) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示