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
6 ビュー (過去 30 日間)
古いコメントを表示
raghavendra kandukuri
2019 年 5 月 14 日
コメント済み: raghavendra kandukuri
2019 年 5 月 14 日
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 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!