Create Checker board pattern
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello, im using this code from Matlab help but i get error.
J = checkerboard(20);
figure
imshow(J)
>> Fringe Chessboard
Undefined function or variable 'Fringe'.
Can anyone help please
댓글 수: 2
KSSV
2020년 9월 30일
You can create your own function: https://in.mathworks.com/matlabcentral/answers/356307-how-to-create-a-checkerboard-matrix-without-inbuilt-function
Steve Eddins
2020년 9월 30일
편집: Steve Eddins
2020년 9월 30일
There is nothing wrong with the code you have quoted from the MATLAB documentation:
J = checkerboard(20);
figure
imshow(J)
That should work as long you have the Image Processing Toolbox installed. (The Image Processing Toolbox contains the checkerboard function.)
The problem is occuring in your next line:
Fringe Chessboard
What is Fringe supposed to be? Is that your function, or a function that somebody gave you? It is not a function in MATLAB or any other MathWorks product.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!