- Create function in Matlab
function [ output_args ] = functionName( input_args )
imshow(input_args);
end

- Automatic alignement of code lines in editor, do EDIT->Select ALL, then TEXT -> Smart INDENT
- Create Own Photo (Binary)
col=256;
row=256;
img=zeros(row,col);
img(100:100,:)=1.5;
img(:,100:100)=1.5;
imshow(img);

- Crop an Image
a=imread('abc.jpg');
i=imcrop(a);
imshow(i)
No comments:
Post a Comment