What is Matlab?
- Matlab is a High-Performance Numeric Computation and Visualization Software package
- Matlab is a programming language developed by math works
- Matlab is used in many fields such as image processing, signal processing, communications
Uses of Matlab:
- Algorithm Development
- Application Development, Graphical User Interface Building
- Data Analysis, Exploration and Visualization
- Modeling, Simulation and Prototyping
- Scientific and Engineering Graphics
Advantages of Matlab:
- High Performance Numerical Computation
- Quicker Decision Making
- Excellent display capabilities
- Easy to do very rapid prototyping
- Ability to work with list of numbers
Matlab Interfaces:
- Workspace
- Command History
- Command Window
Clc;
newImageRGB = imread(‘saturn.png’);
%% convert image to gray level
grayImage = rgb2gray(newImageRGB);
figure;
imshow(grayImage);
%% adding noise to image
afferNoise = imnoise(grayImage,’gaussian’,0,0.025);
figure;
imshow(afferNoise)
%% applying wiener filter to image
afterWiener = wiener2(afferNoise,[6 6]);
figure, imshow(afterWiener)