x is the input argument I want If x is a vector, it returns 1 but without using 'isvector' here's my code but it prints error
if n > 1 && size(x) == [1 n] || [n 1] fprintf('1\n');
Aucun commentaire:
Enregistrer un commentaire