
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

403 Views
In this article, we will learn how to create a dropdown menu/list in MATLAB. In MATLAB, a dropdown menu is a user interface (UI) component allows users to choose one the multiple options or to type as text. In MATLAB, we have a built−in function named ‘unidropdown’ that allows to create a dropdown menu. This function can have different syntaxes to create different types of dropdown menu. The most commonly used types of dropdown menu are as follows: Dropdown menu without any parameters Dropdown menu with a specific parent container Dropdown menu with a specific parent container and properties ... Read More

333 Views
In this article, we will learn to implement MATLAB codes to count the number of circles in a digital image. The counting the number of circles in an image is performed by using various image processing techniques like image erosion, circle detection, etc. The step−by−step procedure to count the number of circles in a digital image in MATLAB is explained below: Step (1)− Read the input image. Step (2)− Convert the input image to grayscale, if necessary. Step (3)− Create a circular or disk−shaped structuring element of a specific size for erosion of the image. Step (4)− Erode the grayscale ... Read More

1K+ Views
In this article, we will discuss how to convert an RGB image into an HSI (HSV) image using MATLAB. 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, HSI stands for Hue Saturation and Intensity. It is also called HSV, where HSV stands for Hue Saturation Value. An image represented based on the color model of ... Read More

346 Views
In MATLAB App environment, we can develop a GUI (Graphical User Interface) app without having proper knowledge of coding. Therefore, MATLAB app building allows us to create professional applications without writing code, and just by drag−drop. In this article, we will discuss how to create a GUI button in a MATLAB application. The step−by−step procedure to create a GUI button in a MATLAB app is explained below. Steps to Create GUI Button in MATLAB App We can follow the following steps to create a GUI button in a MATLAB application: Step(1)– Open the MATLAB command window. Step(2)– Launch the MATLAB ... Read More

1K+ Views
Django is a free, open source web framework which is written in python and works with the python language. It follows the Model view controller(MVC) architectural pattern. This is manly used to develop the web applications in an easy and faster way with minimal fuss. The key features of the Django framework are as follows. It provides Object – relational mapper (ORM) for database management. It helps in URL routing and handling of HTTP requests and responses. Provides the templating engines to generate the HTML pages. It has built-in user authentication and administration Django supports the third party modules ... Read More

4K+ Views
The psutil module in Python helps us to retrieve information about the processes that are currently running in our local system. What is a script? AScript is a set of instructions that are written in programming language and executed in the computer. We can perform a variety of simple to complex repetitive tasks within less time. In Linux, the scripts are often executed through the command line using the shell interpreters like Bash or python. These scripts can also be scheduled to run at a particular times using the cron or systemd. Installing psutil module To work with ... Read More

205 Views
Bokeh is one of the data visualization libraries available in python, which allows the users to create the interactive plots, data applications, dashboards in web browsers. The Bokeh provides us varieties of plots and charts such as scatter plot, line plot, bar charts and area charts etc. and also more specialized heat maps and geographic maps. This is an Open source library with the active developer community. Creating Plots using Bokeh in Python The Bokeh library provides two main interfaces for creating the plot, one is low level interface which is used to develop the plots from the individual components ... Read More

2K+ Views
Python is a widely used programming language used for different purposes all over the world like web development, data science, machine learning and to perform various processes with automation. The output of Boolean is in the form of True & False. So, if we want to convert it into integer, we can represent true as 1 and false as 0. In this article we will learn about the different ways to convert Boolean values into Integer. Different Ways to Convert Boolean Value to Integer Integer Function In this method we will run the integer function along ... Read More

2K+ Views
While building video games, we often try to setup an image or logo for that developed game. Python provides a function in pygame named, set_icon(), which sets the icon as desired. Pygame is a set of modules that allows us to develop the games and multimedia applications. This is built in top of the SDL(Simple Direct Media Layer) library which has low access to the audio keyboard, mouse, joystick and graphics hardware through OpenGL and Direct3D. Syntax Following is the syntax for setting the icon for the game - pygame_icon = pygame.image_load(“image_name”) pygame.display.set_icon(pygame_icon) Where, pygame_icon is the name ... Read More

405 Views
Python is a widely used programming language used for different purposes such as Web Development, Data Science, Machine Learning and to perform different operations with automations. In this article we will learn about different ways to convert a 3D list into 2D list. Let's first have a look how does both the types of list look like: - 3D List Three_dimensional_list = [ [['Sam', 'Tom'], ['Miller', 'David']], [['Rocky', 'Tyler'], ['Mason', 'Petrick']], [['Stefen', 'Damon'], ['Matt', 'Jeremy']] ] # This is the basic structure of a three dimensional list 2D ... Read More