Programming Articles

Page 1738 of 2547

How to extract numbers from cell array in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 474 Views

MATLAB is an efficient tool to perform operations on arrays and matrices. In MATLAB, there are several built-in functions available for cell indexing and conversion that can be used to extract numbers from a cell array. Before proceeding further, let us first get an overview of cell array in MATLAB. What is a Cell Array in MATLAB? In MATLAB, a type of data structure that is used to store data of different data types and sizes is called a cell array. In other words, a cell array is a type of data structure that can hold mix of different data ...

Read More

How to Export a Matrix as a CSV File in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 5K+ Views

In MATLAB, exporting a matrix as a CSV file is a common process which is used to save the numerical data stored in MATLAB matrix in such a format that can easily processed by using any other types of software. MATLAB matrixes are exported as a CSV file for purposes like data interchange, data backup, data presentation, and more. Hence, if you are working with MATLAB, then it is a common practice to export a matrix as a comma-separated values file or CSV file. What is a CSV File? A CSV file or Comma Separated Values file is a ...

Read More

How to Draw a Circle of Given Radius in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 550 Views

MATLAB is a tool that can perform various operations and tasks related to mathematics, engineering, and technology. For example, we can use MATLAB to draw different kind of shapes like circle, square, rectangle, triangle, etc. For this we just need to write a piece of codes in MATLAB programming and input the required parameters like radius of the circle, width and height of the rectangle, etc. This tutorial will explain how you can draw a circle of the specified radius using MATLAB. As we know, in mathematics and geometry, a circle is a basic closed shape formed by joining several ...

Read More

How to Detect Face in Image Processing Using MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 468 Views

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 More

How to detect duplicate values and its indices within an array in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 778 Views

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 More

How to Decide Window Size for a Moving Average Filter in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 944 Views

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 More

How To Create Animated GIF Images in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 770 Views

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 More

Edge detection using first derivative operator in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Oct-2023 403 Views

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 More

Cliques In Graph

Satadru Jati
Satadru Jati
Updated on 09-Oct-2023 4K+ Views

Recently, graph-based representations have gained enormous popularity for simulating real-world data. Cliques are a key issue in graph theory that is used to solve numerous mathematical issues and create graphs. Cliques are extensively researched in the field of computer science, with the clique problem assessing if a clique having a certain size within a graph is NP-complete.  Yet, in spite of all complexities, there has been research into several techniques for finding cliques. What Are Cliques? In all undirected graphs G = (N, E), a clique, is a "subset of the nodes", so that all pairs of distinct nodes is ...

Read More

DevDocs Alternatives

Shirjeel Yunus
Shirjeel Yunus
Updated on 09-Oct-2023 527 Views

What is DevDocs? DevDocs is a tool which consists of documentation of different programming languages which software developers can use. They do not have to navigate to different websites as all documentations will be available on this single website. The app also has a mobile version along with some more features like keyboard shortcuts, a dark theme, etc. A search bar is available which can be used to search the required information. Why DevDocs alternatives? The platform does not have any cons. How to choose a DevDocs Alternative? Access the platform to access documentation for different technologies. The user ...

Read More
Showing 17371–17380 of 25,466 articles
Advertisements