
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 33676 Articles for Programming

149 Views
In this article, we will learn to configure the Run button for functions in MATLAB. In MATLAB, the `Run` button is used execute a MATLAB code. Also, MATLAB allows us to configure the `Run` button to execute a specific user defined function. Algorithm to Configure Run Button The step−by−step process to configure the Run button to execute a specific function in MATLAB is explained below: Step 1 − Firstly, create a new script to open the MATLAB editor. Step 2 − Define or create a function for which you want to configure the Run button. For example, we create ... Read More

888 Views
Introduction Data visualization plays a crucial role in analyzing and communicating insights from complex datasets. With the advent of advanced data visualization tools and techniques, researchers and analysts can now present data in more meaningful and engaging ways. In this article, we will explore advanced data visualization techniques using R, a powerful programming language widely used for data analysis and visualization. We will delve into various subheadings that cover different aspects of data visualization in R, providing detailed insights and examples. Exploratory Data Analysis (EDA) Visualizations Exploratory Data Analysis (EDA) involves visualizing and understanding the underlying patterns and relationships in ... Read More

373 Views
In this article, we will learn how to compare two cell arrays of strings of different sizes in MATLAB. Cell Array of Strings In MATLAB, a cell array of strings is a data structure that can store different types of elements. The element of a cell array are enclosed within curly braces `{}`. Syntax We can use the following syntax to create a cell array of strings, A = {'string1', 'string2', 'string3', …'stringN'}; Here, `A` is a cell array of strings that contains N string elements namely, `string1`, `string2`, …, `stringN`. In MATLAB, the cell arrays of strings are ... Read More

871 Views
Introduction Data analysis plays a crucial role in today's data-driven world. It involves extracting valuable insights from large and complex datasets to make informed decisions. R is a powerful programming language and software environment widely used for statistical computing and graphics. In this article, we will explore the fundamentals of data analysis with R, its benefits, and various techniques used in the process. What is R? R is an open-source programming language and software environment specifically designed for statistical computing and graphics. It provides a wide range of tools for data manipulation, visualization, and statistical analysis. R is highly extensible ... Read More

2K+ Views
In an image, a boundary is an element that separates an object from the background of the image or two different regions within an image. Boundary provides information about the shape and structure of objects present in the image. Boundaries are mainly classified into the following two types: Inner Boundary It is the boundary of an object within an image that separates it from the image background. The inner boundary is basically the outline of the object and provides information about the shape of the object. Therefore, by extracting the inner boundary of an object, we can identify and analyze ... Read More

558 Views
Python is a powerful language to be used for performing various statistical tests. One such statistical test is the Welch’s t-test. When there are two datasets with equal variances and you have to find out whether their means are the same or not, then using a two sample t-test would be wise enough. However, if the variances of the two datasets are not the same, then Welch’s t-test should be used to compare the means. Syntax stats.ttest_ind(dataset_one, dataset_two, equal_var = False/True) Here, ttest_ind is the function that performs Welch’s t-test. It takes three parameters, The first ... Read More

11K+ Views
Encoding and decoding Base64 strings is a common task in Python programming. Base64 encoding is used to convert binary data into a format that can be transmitted over the internet, while decoding is used to convert the Base64-encoded data back to its original format. In this article, we will explore how to encode and decode Base64 strings in Python, including the different methods and libraries available. Understanding Base64 Encoding Base64 encoding is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is often used to transmit data over the internet or store data in a ... Read More

174 Views
An optical or visual phenomenon that creates the perception of distortion, movement or any other type of fascinating visual effect by using back and white patterns is referred to as back and white optical illusion. These back and white patterns utilize the way our eyes and brain process the visual information and create an illusion to mislead our perception. The back and white optical illusions use various black and white patterns, shapes, and lines arranged in a specific style. These arrangements are made such that they can create illusion of movement, distortion, depth, and more. In this article, we will ... Read More

2K+ Views
PostgreSQL is a popular open−source relational database management system known for its robustness, scalability, and advanced features. Python provides excellent support for interacting with PostgreSQL databases, allowing developers to seamlessly connect and execute SQL queries. In this article, we will explore the step−by−step process of connecting to a PostgreSQL database from Python, running SQL queries, and retrieving results. We will provide code examples, explanations, and sample outputs to help you master this essential skill. In this article, we will learn how to connect and run SQL queries to a PostgreSQL database from Python. Step 1: Install the psycopg2 module The ... Read More

2K+ Views
Pandas is a Python library that is used for data analysis and manipulation. It provides a number of functions for cleaning and formatting data. In this article, we will learn how to clean string data in a given Pandas DataFrame. We will cover the following topics: Removing leading and trailing spaces Replacing special characters Converting to lowercase Removing duplicate values Splitting strings into columns Merging columns Validating data Removing Leading and Trailing Spaces The strip() method can be used to remove leading and trailing spaces from a string. For example, the following code will remove the leading ... Read More