- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 34488 Articles for Programming
277 Views
Introduction to Up−Sampling In digital signal processing, the technique which allows to increase the sampling rate of a signal is termed as up−sampling. For a signal expressed in frequency domain, the up sampling is performed by adding zeros in the frequency domain. In digital signal processing, the up sampling in frequency domain is commonly used to interpolate or expand the bandwidth of a digital signal. In MATLAB, the up−sampling process is completed in the following three phases: Step 1 − Perform Discrete Fourier Transformation (DFT) In this phase/step, the given signal is transformed from the time domain to the frequency ... Read More
268 Views
MATLAB is a scientific programming language that provides different ways of expression information. One of them is 2D discrete data plots. In MATLAB, we can create several different types of 2D discrete data plots to represent data and information graphically. In this article, we will explore different types of 2D discrete data plots in MATLAB, and will discuss their implementation using MATLAB programming. So, let’s start with the basic introduction of 2D discrete data plots in MATLAB. Introduction to 2D Discrete Data Plot In MATLAB, the 2D discrete data plot is a graphical way of representing information or data points ... Read More
866 Views
In MATLAB, an array is a data structure used to store elements in contiguous memory blocks. A column vector is a one−dimensional array of elements. In a column vector, the elements are arranged column−wise. It is also important to note that MATLAB by default stores arrays in a column wise manner which means the elements of the array are stored in the memory as a column vector. In this article, we will explore different approaches to convert an array into a column vector using MATLAB programming. Method (1): Using Transpose Function We can turn an array into a column vector ... Read More
2K+ Views
In MATLAB, a matrix is nothing but an array of rows and columns arranged in a square or rectangular shape. A matrix is basically a two−dimensional array of numbers. MATLAB allows us to create various types of matrices, such as n × n matrix, n × m matrix, column vector, row vector, etc. In this article, we will learn how to turn a matrix into a row rector using MATLAB programming. A row vector is a one−dimensional array in which the elements of the matrix are arranged in a single row. When we create a row vector, MATLAB stores the ... Read More
875 Views
In computer−based image analysis and processing, the image segmentation is an essential task. The image segmentation allows us to extract specific objects or regions from an image. In digital image processing, the most widely used image segmentation technique is the thresholding−based image segmentation. This image segmentation technique works depending on the pixel intensity values to separate different regions within an image. In this article, we will discuss learn the implementation of thresholding−based image segmentation using MATLAB programming. But before that let’s get into the basics of thresholding and its types. What is Thresholding? In digital image processing, the thresholding is ... Read More
160 Views
In the field of digital image and video processing, there are two popular color spaces namely RGB and YIQ. Where, RGB stands for Red, Green, and Blue. The RGB color space is widely used for displaying digital images on display screens. This color space utilizes a combination of intensities of red, green, and blue lights. Therefore, in the RGB color space, each pixel in a digital image composed of three−color channels namely red, green, and blue. On the other hand, YIQ is another color space that is mainly employed in analog video or NTSC systems. YIQ stands for Luminance (Y), ... Read More
399 Views
In this article, we will learn how to create a function in MATLAB and how to use that function in a MATLAB program to perform an operation. What is a Function in MATLAB? In MATLAB, a function is nothing but a block or set of instructions used to perform a specific operation. A function basically eliminates the need of writing instructions repeatedly. Also, it encapsulates all the technical information of the operations and provides a short and easy to use executable code to perform the operation. Functions has several advantages such as easy implementation, reusability, easy maintenance, etc. Components of ... Read More
187 Views
In this article, we will learn how to create a dropdown menu/list in MATLAB. In MATLAB, a dropdown menu is a user interface (UI) component allows users to choose one the multiple options or to type as text. In MATLAB, we have a built−in function named ‘unidropdown’ that allows to create a dropdown menu. This function can have different syntaxes to create different types of dropdown menu. The most commonly used types of dropdown menu are as follows: Dropdown menu without any parameters Dropdown menu with a specific parent container Dropdown menu with a specific parent container and properties ... Read More
144 Views
In this article, we will learn to implement MATLAB codes to count the number of circles in a digital image. The counting the number of circles in an image is performed by using various image processing techniques like image erosion, circle detection, etc. The step−by−step procedure to count the number of circles in a digital image in MATLAB is explained below: Step (1)− Read the input image. Step (2)− Convert the input image to grayscale, if necessary. Step (3)− Create a circular or disk−shaped structuring element of a specific size for erosion of the image. Step (4)− Erode the grayscale ... Read More
896 Views
In this article, we will discuss how to convert an RGB image into an HSI (HSV) image using MATLAB. The RGB color space is widely used for displaying digital images on display screens. This color space utilizes a combination of intensities of red, green, and blue lights. Therefore, in the RGB color space, each pixel in a digital image composed of three−color channels namely red, green, and blue. On the other hand, HSI stands for Hue Saturation and Intensity. It is also called HSV, where HSV stands for Hue Saturation Value. An image represented based on the color model of ... Read More