how to write the equation in matlab as attached in file?
조회 수: 1 (최근 30일)
이전 댓글 표시
i am unable to write the condition (even odd ) given in equation so help,
댓글 수: 0
채택된 답변
KSSV
2017년 8월 29일
for i = 1:10
if mod(i,2)
fprintf('%d is odd\n',i)
else
fprintf('%d is even\n',i)
end
end
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!