- 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 218 Articles for Data Analysis

43 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

34 Views

MATLAB is a high−level programming language used to perform engineering and scientific operations such as system design and analysis, matrix manipulation, data interpretation, image processing, app development, and more. MATLAB provides several methods to write reusable codes that can be used to perform repeated tasks. One such code in MATLAB is a function. In this tutorial, I will explain how to create functions in a file in MATLAB. But before that let’s have a look into some basic concepts related to MATLAB functions. What is a Function in MATLAB? In MATLAB, a function is a code or command or ... Read More

60 Views

In MATLAB, there are class constructor methods which are used to create an instance of a class. Class constructor methods are basically special functions within a class that are used to create and initialize the objects of the class, these class constructor methods are called automatically when we create a new object in the class. In this tutorial, I will explain class constructor methods in MATLAB in detail. What is the Purpose of Class Constructor Methods? As mentioned above, a class constructor method in MATLAB is a special function which is used to create an instance of a class. In ... Read More

55 Views

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 More

62 Views

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 More

94 Views

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 More

58 Views

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 More

183 Views

In mathematics, there are several types of numeric values such as integers (having no fractional part), floating point numbers (having fractional parts separated by a decimal), and more. In some data analysis and other computational applications, we are given floating point numbers that contain a decimal part, i.e., digits after a decimal point. But we require only integers. Hence, if you are using MATLAB as your data processing tool, then you can use it to remove decimals present in the given number. This tutorial is primarily meant for explaining the different methods of removing decimals from a given number using ... Read More

29 Views

In MATLAB, reading a text file backwards involves reversing the order of the lines written in the file. We can use MATLAB to reverse the order and read the text file backwards. For this, MATLAB provides various methods using different functions and algorithms. In this tutorial, I will explain the commonly used methods to read a text file backward using MATLAB. Create a Text File in MATLAB In MATLAB, we can create a text file using the built-in functions "fopen" and "fprintf". Example The following example demonstrates the process of creating a text in MATLAB. % MATLAB code to ... Read More

40 Views

Reading an image file is the first step in any digital image processing task. In MATLAB, reading an image file means the process of inputting or loading the digital image into the MATLAB workspace and store it in a variable. Let us now understand the process of reading an image file in MATLAB with the help of examples. Read an Image File in MATLAB In MATLAB, there is a built-in function named "imread" in the function library that is used to read an image file. Syntax img = imread(imageFilePath); Here, "img" is a variable to store the input ... Read More