
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 216 Articles for Data Analysis

1K+ Views
MATLAB has three built-in functions "semilogx", "semilogy", and "loglog" to covert the linear axis scales to logarithmic scales in a plot. Here, the “semilogx()” function is used to change the X-axis scale to a logarithmic scale. The “semilogy()” function is used to change the Y-axis scale to a logarithmic scale. The “loglog()” functions changes both X-axis and Y-axis scales to logarithmic scales. Syntax semilogx(x, y); semilogy(x, y); loglog(x, y); The following MATLAB program demonstrates the use of “semilogx()”, “semilogy()”, and “loglog()” functions to change the axis scales to logarithmic scales in MATLAB. Example % MATLAB program to ... Read More

788 Views
MATLAB programming has different built-in functions to customize the axis labels. In this article, we will explore the creation of custom axis labels of a plot in MATLAB. Functions to Customize Axis Labels MATLAB has the following built-in functions to create customized axis labels: "xlabel()" Function - The “xlabel()” function is used to apply label for X-axis in MATLAB. "ylabel()" Function - The “ylabel()” function is used to apply label for Y-axis in MATLAB. ... Read More

2K+ Views
MATLAB provides various options to control the visibility of gridlines in a plot. By using these options, we can display or hide both major and minor grid lines. Gridline Control Options MATLAB has the a “grid” option that can accept three control values, i.e. “on”, “off”, and “minor” to control the visibility of gridlines in a plot. The “grid” option with value “on” displays the major grid lines in the plot, with value “off” hides the gridlines in plot, and with value “minor” it can display minor gridlines in the plot. It is important to note that when the “grid” ... Read More

1K+ Views
In MATLAB programming, we can use various types of built-in functions to generate different types of random numbers. Random numbers are nothing but numbers selected randomly from a set of numbers. MATLAB provides the following four major functions to generate different types of random numbers depending on our requirements: rand() randn() randi() randperm() Let us discuss each of these four ... Read More

406 Views
In MATLAB, the numeric class consists of various data types, such as signed integers, unsigned integers, single-precision floating point number, and double-precision floating point numbers. In MATLAB, the floating point precision basically defines the number of significant digits that can be specified and manipulated by performing a floating point arithmetic operation. The IEEE 754 standard determines the default floating point precision in MATLAB. As per this standard, the floating point numbers are represented in the following two formats: Single-Precision Floating Point Number Double-Precision ... Read More

357 Views
In MATLAB, the variables are typically stored in the form of a matrix or array. Sometimes, we require a matrix or array of zeros to perform a specific operation. Therefore, MATLAB allows us to create a matrix or array of zeros. For this task, we can use MATLAB's built-in functions or manual methods. In this article, we will learn different methods to create a matrix or array of zero with the help of example programs in MATLAB programming. Array of Zeros using `zeros()` Function in MATLAB MATLAB provides a built-in function named `zeros()` to create a matrix ... Read More

282 Views
MATLAB provides an integrated app building toolbox that we can use to create a graphical user interface based app without writing any kind of code. Hence, MATLAB allows users to create professional applications by just drag and drop facility. After that the user can write a MATLAB code to define the behavior of the app options. As mentioned above, this article is primarily meant for creating a user interface in the application which provides a list of options from which a user can select any number of choices. This user interface is referred to as checkbox. A checkbox ... Read More

977 Views
MATLAB allows us to combine two images through various methods like image fusion, image join, image concatenate, image overlay, image blending, etc. In this tutorial, we will explore all these techniques of combining two images. Combine Two Image in MATLAB using `imtile()` Function In MATLAB, we can combine two images by using the `imtile()` function. This function allows us to arrange our multiple images in a tiled layout. Syntax To combine two images, the `imtile` function takes the following syntax: img = imtile({img1, img2}, 'GridSize', [1, 2]); Now, let us see the implementation of the ... Read More

121 Views
We can obtain grayscale color by setting RGB values to 128. This means all color channels will have the same intensity values. The following MATLAB program illustrate the code for changing the background of a color image into grayscale. Example %MATLAB program to demonstrate changing color background into grayscale % Read the input colored image img1 = imread('https://www.tutorialspoint.com/assets/questions/media/14304-1687425236.jpg'); % Display the input color image subplot(1, 2, 1); imshow(img1); title('Original Image'); % Create a binary mask of the background BGMask = img1(:, :, 1) == img1(1, 1, 1) & ... ... Read More

315 Views
The Complex Conjugate Transpose is a mathematical operation performed on a matrix of complex numbers. It is also known as Hermitian Transpose of Matrix. In this operation, first the transpose of the matrix is taken and after that the conjugate of each element of the matrix. For example, if a there is a complex matrix M, then the complex conjugate transpose of this matrix will be M* that is obtained by taking transpose of M and then replacing each element with its complex conjugate. The complex conjugate of a complex number is simply determined by changing the sign of ... Read More