看板 MATLAB 關於我們 聯絡資訊
翻了help以後才發現原來is家族有這麼龐大 以前寫的不少笨笨的判斷式全部都可以省略不用了orz isa Detect object of given MATLAB class or Java class isappdata Determine if object has specific application-defined data iscell Determine if input is cell array iscellstr Determine if input is cell array of strings ischar Determine if input is character array iscom Determine if input is Component Object Model (COM) object isdir Determine if input is directory isempty Determine if input is empty array isequal Determine if arrays are numerically equal isequalwithequalnans Determine if arrays are numerically equal, treating NaNs as equal isevent Determine if input is object event isfield Determine if input is MATLAB structure array field isfinite Detect finite elements of array isfloat Determine if input is floating-point array isglobal Determine if input is global variable ishandle Detect valid graphics object handles ishold Determine if graphics hold state is on isinf Detect infinite elements of array isinteger Determine if input is integer array isinterface Determine if input is Component Object Model (COM) interface isjava Determine if input is Java object iskeyword Determine if input is MATLAB keyword islogical Determine if input is logical array ismember Detect members of specific set ismethod Determine if input is object method isnan Detect elements of array that are not a number (NaN) isnumeric Determine if input is numeric array isobject Determine if input is MATLAB OOPs object ispc Determine if PC (Windows) version of MATLAB isprime Detect prime elements of array isprop Determine if input is object property isreal Determine if all array elements are real numbers isscalar Determine if input is scalar issorted Determine if set elements are in sorted order isspace Detect space characters in array issparse Determine if input is sparse array isstrprop Determine if string is of specified category isstruct Determine if input is MATLAB structure array isstudent Determine if Student Version of MATLAB isunix Determine if UNIX version of MATLAB isvalid Determine if input object is valid isvarname Determine if input is valid variable name isvector Determine if input is vector -- Deserves death! I daresay he does. Many that live deserve death. And some die that deserve life. Can you give that to them? Then be not too eager to deal out death in the name of justice, fearing for your own safty. Even the wise cannot see all ends. Gandalf to Frodo -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.120.25.235
dehkgt:推一個 07/05 15:27
jack750822:推~~這版主一定要M的啊 07/05 16:14
※ 編輯: Gwaewluin 來自: 140.120.25.235 (07/05 16:46)
Ysen:推 07/05 17:38
shaple:推 07/05 17:49