MATLAB Answers

HI, is there any built in function in MATLAB to check, if all the elements in cell array or double array are same or not

10 views (last 30 days)
Is there any built in function in MATLAB to check, if all the elements in cell array or double array are same or not, for example, if same then do some calculations else do something else
fck1 = {3,3,3,3,3}
% return 1 or 0 for uniqueness
if fck1% unique
%calculation
else
%calculations
end

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by