![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Matlab
Fear is not real
Stay hungry ,stay foolish.
展开
-
Matlab 调用 "fun" 时,未对输出参数 "result2" (可能还包括其他参数)赋值。
比如当我们定义如下的函数 fun 时。% 当输出形参多于 1 个时 则应该用方括号括起来 function [result1, result2] = fun(x,y)result1 = x+y;result = x-y;在命令行窗口输入调用函数的命令时,就会出现如下错误>> [a,b]=fun(5,4);调用 "fun" 时,未对输出参数 "result2" ...原创 2019-05-26 17:01:08 · 33836 阅读 · 0 评论 -
What is the difference between cell and matrix in Matlab?
原文链接There are several differences between a cell array and a matrix in MATLAB: A cell array may contain any arbitrary type of element in each cell; while a matrix requires the types of its elemen...转载 2019-05-27 23:22:40 · 133 阅读 · 0 评论