Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

What format should bwboundaries take?

조회 수: 1 (최근 30일)
DM
DM 2015년 7월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a big array of 80 by 80 0s and 1s. I am trying to feed this into bwboundaries but I am getting various errors, including 'Operands to the and && operators must be convertible to logical scalar values.' What do I need to do to solve this?
  댓글 수: 1
Image Analyst
Image Analyst 2015년 7월 11일
What you need to do to solve this is to upload your image so I can figure it out for you.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 7월 11일
Your array does not contain only 0 and 1. Your array probably contains NaN or objects as well.
  댓글 수: 2
DM
DM 2015년 7월 11일
I've looked through my array and it does only contain 0s and 1s.
Walter Roberson
Walter Roberson 2015년 7월 11일
We need to see your code.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by