Found 33676 Articles for Programming

How to check if an application is open in Python?

Niharika Aitam
Updated on 09-Aug-2023 10:31:35

6K+ Views

A program under execution is known as process. A process can be applications running on the current operating system or, applications related to the Operating system. If an application is related to operating system, firstly it will create a process to execute itself. The other applications rely on operating system services for execution. Most of the applications are OS services and the background applications that maintain the operating system, software and Hardware. We have different ways in python to check whether if an application is open or not. Let’s see them one by one in detail. Using ... Read More

How to check the file size?

Niharika Aitam
Updated on 09-Aug-2023 10:30:38

540 Views

Files are used to store certain data based on user requirement. A file can contain any type of information suchas audio, text, images, video or program. Depending on the data present in a file, the size of a file varies. The size of a file is measured in bits or bytes. A bit is the smallest unit of information which is typically represented by a single value: either 0 or 1. Bytes are used to measure the amount of data in a file and the bytes are denoted by 8 bits. There are several ways to check the file ... Read More

Top 10 Natural Language Programming Libraries

Priya Mishra
Updated on 08-Aug-2023 11:16:16

334 Views

In the rapidly changing field of artificial intelligence (AI), libraries for natural language programming (NLP) have a vital function in empowering developers to construct robust and smart applications. NLP libraries offer an extensive range of tools and assets that ease the handling and examination of human language, enabling machines to comprehend and react to written information. Within this article, we will delve into the finest ten NLP libraries that every AI developer should acquaint themselves with. By gaining an understanding of the capacities and characteristics of these libraries, we can harness their advantages to devise pioneering and remarkably effective applications ... Read More

Up Sampling in Frequency Domain in MATLAB

Manish Kumar Saini
Updated on 08-Aug-2023 10:47:45

541 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

Types of 2-D Discrete Data Plots in MATLAB

Manish Kumar Saini
Updated on 08-Aug-2023 10:46:05

501 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

Turn an Array into a Column Vector in MATLAB

Manish Kumar Saini
Updated on 08-Aug-2023 10:43:28

2K+ 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

Turn a Matrix into a Row Vector in MATLAB

Manish Kumar Saini
Updated on 08-Aug-2023 10:41:22

3K+ 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

Thresholding-Based Image Segmentation in MATLAB

Manish Kumar Saini
Updated on 08-Aug-2023 10:39:39

2K+ 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

How to Convert RGB Image to YIQ Image using MATLAB?

Manish Kumar Saini
Updated on 08-Aug-2023 10:37:47

310 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

How to Create a Function in MATLAB?

Manish Kumar Saini
Updated on 08-Aug-2023 10:34:31

640 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

Advertisements