Determining if the length of an array is even or odd?
조회 수: 15 (최근 30일)
이전 댓글 표시
How do i determine if the length of an array is even or odd? Is there a specific function that does this? I know length(A) gives you the length of an array, but for a function I am creating, whether the length of an array A is even or odd is a condition that must be satisfied for the function to compute its output.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!