Is there a function Is_array in matlab ?

16 Ansichten (letzte 30 Tage)
Mohamed Anwar ABOUABDALLAH
Mohamed Anwar ABOUABDALLAH am 11 Dez. 2020
Kommentiert: KALYAN ACHARJYA am 11 Dez. 2020
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.

Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 11 Dez. 2020
Bearbeitet: KALYAN ACHARJYA am 11 Dez. 2020
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 Kommentare
Mohamed Anwar ABOUABDALLAH
Mohamed Anwar ABOUABDALLAH am 11 Dez. 2020
Finaly I decide to use the comnation isvector(size(x)) instead of is array.
Thanks for the help.
KALYAN ACHARJYA
KALYAN ACHARJYA am 11 Dez. 2020
Welcome
:)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by