Is there a function Is_array in matlab ?

조회 수: 13 (최근 30일)
Mohamed Anwar ABOUABDALLAH
Mohamed Anwar ABOUABDALLAH 2020년 12월 11일
댓글: KALYAN ACHARJYA 2020년 12월 11일
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
Mohamed Anwar ABOUABDALLAH 2020년 12월 11일
Finaly I decide to use the comnation isvector(size(x)) instead of is array.
Thanks for the help.
KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 12월 11일
Welcome
:)

댓글을 달려면 로그인하십시오.

추가 답변 (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