Is there a function Is_array in matlab ?

17 次查看(过去 30 天)
I may be a newbie in matlab have a small problem with a libray in matlab : I don't know if there a function is_array in matlab.
Error in tt_tensor (line 183) if is_array(varargin{1})
My code worked somme weeks ago but didn't work since yesterday.
If someone could help me, I will be gratfull.

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2020-12-11
编辑:KALYAN ACHARJYA 2020-12-11
No, there is no "Is_array" inbuilt function in MATLAB, there is "isvector" inbuilt function
isvector(data) returns logical 1 (true) if data is a vector. Otherwise, it returns logical 0 (false).
More: There is "uiarray" function, this function is used primarily for creating UI controls of demos of the toolbox.
Deatail, please check
>> help uiarray
  3 个评论
Mohamed Anwar ABOUABDALLAH
Finaly I decide to use the comnation isvector(size(x)) instead of is array.
Thanks for the help.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computational Geometry 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by