How to check whether all the elements are integer?

조회 수: 9(최근 30일)
I had a vector of size (1 x 65536). How can i check whether all the elements in that vector is an integer.
  댓글 수: 1
Sneha P S
Sneha P S 2018년 4월 5일
There some values are stored as 8.8744e+05 while checking the workspace. Is that a problem for doing bitxor operation. Those values are also considered as integers, right?

댓글을 달려면 로그인하십시오.

채택된 답변

Von Duesenberg
Von Duesenberg 2018년 4월 5일
check = [1 1.5];

추가 답변(0개)


Find more on Operators and Elementary Operations in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by