Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function scriptGraphicOptional(booleanMatrixOriginal,booleanMatrix,matrixAND)
- I=mat2gray(booleanMatrixOriginal,[1 0])
- II=mat2gray(booleanMatrix,[1 0])
- III=mat2gray(matrixAND,[1 0])
- IV=mat2gray((booleanMatrixOriginal+booleanMatrix),[1 0])
- figure
- RI = imref2d(size(I));
- RI.XWorldLimits = [0 10];
- RI.YWorldLimits = [0 10];
- subplot(2,2,1)
- imshow(I,RI,'InitialMagnification','fit')
- title('MATRIS ORIGINAL');
- subplot(2,2,2)
- imshow(II,RI,'InitialMagnification','fit')
- title('MATRIS GENERADA');
- subplot(2,2,3)
- imshow(III,RI,'InitialMagnification','fit')
- title('MATRICES DE ACIERTOS');
- subplot(2,2,4)
- imshow(IV,RI,'InitialMagnification','fit')
- title('MATRICES SUPERPUESTAS');
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement