Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Data Analysis Articles
Page 4 of 17
How to Detect Face in Image Processing Using MATLAB?
In digital image processing, face detection is a process of identifying face of a person within a digital image or video. It plays vital role in the field computer vision. It is used in various fields such as self−driving cars, facial recognition, face lock systems, emotion analysis, estimation of age, robotics, and many other. MATLAB is an efficient tool to perform image processing, therefore we can use it to detect human face in an image using this software. Before going to learn about MATLAB codes to detect face in an image, let us get a brief overview of face detection ...
Read MoreHow to detect duplicate values and its indices within an array in MATLAB?
In this tutorial, I will explain how to detect duplicate values and its indices within an array in MATLAB. To accomplish this task, we can use various built-in functions in MATLAB. In this article, I will do this using the following two function combinations. unique() and length() unique() and ismember() Before going to implement MATLAB codes, let us first know the steps involved to detect duplicate values in an array. How to Detect Duplicate Values and their Indices in an Array using MATLAB? In MATLAB, the following steps are involved in detecting duplicate values and their indices in ...
Read MoreHow to Decide Window Size for a Moving Average Filter in MATLAB?
In MATLAB, there is a signal processing technique called moving average filter which is used to smooth or filter time series data. The moving average filter computes the average value of data points withing a moving window, and then it utilizes this average value as output data points in the filtered signal. The moving average filter is used to reduce fluctuations and noise in the data points. Before going to learn about the parameters that are used to decide the window size for a moving average filter in MATLAB, let us first learn what is the window size for a ...
Read MoreHow To Create Animated GIF Images in MATLAB?
GIF stands for Graphics Interchange Format. It is a type of image file which is a raster graphics file format, specially used in web and networking applications. The important characteristic of the GIF image format is that it can support both static and animated objects within the image. In this tutorial, I will explain how you can create an animated GIF image using MATLAB. As we know, MATLAB is an efficient tool to perform various scientific and engineering tasks such as image processing, simulation, etc. We can utilize MATLAB to create animated GIF images. What is a GIF Image? A ...
Read MoreEdge detection using first derivative operator in MATLAB
In digital image processing, edge detection is a process used to identify the boundaries of objects within a digital image. We have various image processing techniques to detect edges in an image, but in this tutorial, we will learn the edge detection using first derivative operator in MATLAB. What is Edge Detection in MATLAB? MATLAB is an efficient tool to perform complex image processing tasks. One such task is the edge detection, which is nothing but a process of detecting boundaries of objects in an image. In an image, an edge of an object is typically the region where ...
Read MoreLinear Filtering without using Imfilter Function in MATLAB
In MATLAB, "linear filtering" is a technique used to apply a linear filter to a digital image. The fundamental principle behind the working of linear filtering is convolution. This article is meant for explaining the concept of linear filtering and how to perform linear filtering without using the "imfilter" function in MATLAB. What is Linear Filtering? In digital image processing, the process of applying a linear filter (also called convolution kernel) to a digital image is called linear filtering. The working of linear filtering is based on the concept of convolution. In the process of linear filtering, a convolution ...
Read MoreHow to reverse a string in MATLAB?
MATLAB provides various built-in functions to reverse a string of text. In this tutorial, I am going to explain all the commonly used methods to reverse a string in MATLAB. Reverse a String Using "reverse" Function in MATLAB There is a built-in function "reverse" in MATLAB that we can use to reverse a string. Syntax reversed_string = reverse(string); The steps involved in reversing a string using the "reverse" function are given below − Step (1) − Create a string of text. Step (2) − Call the "reverse" function to reverse the string. Step (3) − Display the ...
Read MoreHow to reverse a number in MATLAB?
In MATLAB, there are various methods and functions for reversing a given number. In this tutorial, I will explain all these methods one-by-one with the help of examples. Reverse a Number Using "fliplr" Function in MATLAB The "fliplr" is a built-in function in MATLAB that we can use to reverse a given number. Syntax reversed_num = fliplr(number); Here, the "number" must be a string. Here are the steps involved in reversing a given number using the "fliplr" function in MATLAB. Step (1) − Input the number. Step (2) − Convert the input number to a string. For ...
Read MoreHow to remove spaces in a string in MATLAB?
MATLAB provides various methods and functions to remove spaces in a string. In this tutorial, we will cover the commonly used methods for removing extra spaces in a string. So, let’s start. Remove White Space in a String Using "isspace" Function In MATLAB, the "isspace" function is a built-in function that is used to determine and remove the ASCII white space present in a string. Syntax string_without_space = isspace('input_string'); Example Let us take an example in MATLAB programming to use this function to remove white spaces in a string. % MATLAB code to remove white space from ...
Read MoreHow to Import Data from a CSV File with Numeric Values and Texts into MATLAB Workspace?
CSV or Comma Separated Values is a file format that can store numeric and text values. The most important characteristic of a CSV file is that it allows to exchange the data among a variety of sources. MATLAB is a powerful tool that provides a large number of built-in functions to perform various operations. It provides the following two functions that enable the users to import data with numeric and text values from a CSV file into the MATLAB workspace. readtable() importdata() In this tutorial, I will show you the process of importing data from a CSV file ...
Read More