Hello! I am Ammar Ali, a programmer here to learn from experience, people, and docs, and create interesting and useful programming content. I mostly create content about Python, Matlab, and Microcontrollers like Arduino and PIC.
Articles by Ammar Ali
Raspberry Pi Howtos
- How to Setup a Raspberry Pi File Server
- How to Setup MySQL in Raspberry Pi
- DNS Server on Raspberry Pi
- How to Use Dropbox on Raspberry Pi
- How to Use Plex Media Player on Raspberry Pi
- Raspberry Pi Pinout
- Chrome on Raspberry Pi
- How to Install Firefox for Raspberry Pi
- How to Install On-Screen Keyboard for Raspberry Pi
JavaScript Howtos
- How to Change Attribute in JavaScript
- How to Show/Hide Div onClick in JavaScript
- How to Use OpenCV JavaScript to Displaying an Image
- Introduction to OpenCV JavaScript
- How to Use OpenCV JavaScript to Capture and Play Video
- How to Alert Yes No With the confirm() Function in JavaScript
- How to Change Input Value in JavaScript
- How to Change the Background Color in JavaScript
- How to Compare Objects in JavaScript
- How to Convert Array to JSON in JavaScript
- How to Convert RGB to HEX in JavaScript
- How to Move Element in JavaScript
- How to Toggle a Button in JavaScript
- How to Convert Date to UTC in JavaScript
- How to Get the Timezone in JavaScript
- How to Add Character to String in JavaScript
- How to Clone an Array in JavaScript
- How to Append to String in JavaScript
- How to Create Fibonacci in JavaScript
- How to Find Max/Min Value in JavaScript Array
- How to Get the Timestamp in JavaScript
- How to Pick Random Value From Array in JavaScript
- How to Reverse Array in JavaScript
- How to Submit Form on Click in JavaScript
- JavaScript Stack and Queue
- JavaScript Unique Array
- How to Append Array to Another in JavaScript
- How to Sort Array of Objects Alphabetically in JavaScript
- Integer Division in JavaScript
- Window Resize Event in JavaScript
- How to Change Text in JavaScript
- JavaScript Average Function
- How to Add Class to Element in JavaScript
- How to Add Object to Array in JavaScript
- How to Change Image Source JavaScript
- How to Remove Item From Array by Value in JavaScript
- JavaScript Enums
Matlab Howtos
- MATLAB kstest() Function
- MATLAB Norm of Rows of a Matrix
- How to Reverse Colormap in MATLAB
- MATLAB Deg2rad Function
- MATLAB Quantile
- MATLAB Waterfall Plot
- How to Export Data From MATLAB to Excel
- How to Remove NaN From Vector in MATLAB
- MATLAB Repelem() Function
- MATLAB Inverse Fast Fourier Transform
- How to Create Polar Plot in MATLAB
- How to Insert Variable Into String in MATLAB
- How to MATLAB Sort Rows
- How to Remove Zeros From a Vector in MATLAB
- MATLAB Line Continuation
- How to Calculate Fibonacci Sequence in MATLAB
- MATLAB corr2() Function
- MATLAB Norm() Function
- How to Append Vector to 3D Matrix in MATLAB
- How to Plot Multiple Data Sets on a Single Scatter Plot in MATLAB
- MATLAB Image Low Pass Filter
- How to Calculate Inverse Cosine in MATLAB
- MATLAB Repmat
- The caxis() Function in MATLAB
- The mvnpdf() Function in MATLAB
- The nnz() Function in MATLAB
- MATLAB fzero Function
- MATLAB sin() and sind() Functions
- How to Generate a Summation of a Series in MATLAB
- How to Use Greek Symbols in Bar Graph Labels in MATLAB
- How to Apply Geometric Transformation to Images in MATLAB
- How to Convert Number to String in MATLAB
- How to Find K-Nearest Neighbors in MATLAB
- How to Check CPU Time in MATLAB
- MATLAB sscanf() Function
- How to Check the Existence of a File in MATLAB
- Newton-Raphson Method in MATLAB
- How to Plot 3D in MATLAB
- How to Calculate Image Histogram in MATLAB
- How to Determine Which Characters Are Letters in MATLAB
- How to Plot Root Locus in MATLAB
- MATLAB Data Types
- MATLAB Image Dilation
- MATLAB Trapezoidal Rule
- MATLAB Variables
- 2D Interpolation Using MATLAB
- How to Calculate Cumulative Sum Using MATLAB
- How to Create Low Pass Filter in MATLAB
- How to Get Random Permutation Using MATLAB
- How to Plot 3D Bar Graph in MATLAB
- How to Plot 3D Contour in MATLAB
- How to Plot 3D Line or Point in MATLAB
- How to Plot 3D Quiver or Vector in MATLAB
- The Conditional Statement in MATLAB
- How to Create Scatter Plot in MATLAB
- How to Make a Column Vector in MATLAB
- How to Plot Circle in MATLAB
- How to Resize Image in MATLAB
- The Diff() Function in MATLAB
- The linspace() Function in MATLAB
- The meshgrid() Function in MATLAB
- How to Change Legend Title in MATLAB
- How to Concatenate String in MATLAB
- How to Plot a Horizontal Line in MATLAB
- How to Plot Mesh Surface in MATLAB
- How to Plot Multiple Plots in MATLAB
- The find() Function in MATLAB
- How to Clear Variables in MATLAB
- How to Extract Frames From Video Using MATLAB
- How to Find Reduced Row Echelon Form MATLAB
- How to Flip Image in MATLAB
- How to Get Erosion of an Image in MATLAB
- How to Get Negative of an Image in MATLAB
- Integration in MATLAB
- How to Create a Function in MATLAB
- How to Create Array of Zeros in MATLAB
- How to Find Index of Value in Array in Matlab
- How to Get Average of Array With the mean() Function in Matlab
- How to Sum Elements of an Array in MATLAB
- Inverse Laplace Transform Using MATLAB
- MATLAB Eigenvalues and Eigenvectors
- System of Linear Equation in MATLAB
- How to Create Random Matrix in MATLAB
- How to Find String in MATLAB
- How to Return Multiple Values From a Matlab Function
- MATLAB Dirac Delta Function
- How to Apply Subplot Title in MATLAB
- How to Hide Axis in MATLAB
- How to Plot Bode Diagram in MATLAB
- MATLAB Global Variables
- How to Convert ASCII to String in MATLAB
- How to Convert RGB to Gray Scale in Matlab
- How to Get Roots of Polynomial in Matlab
- How to Shift Array in MATLAB
- MATLAB Mean Filter
- MATLAB White Noise
- How to Draw Arrow in MATLAB
- How to Get Array Size Limit in MATLAB
- How to Get Ramp Input Response in MATLAB
- How to Create Animated Plot in MATLAB
- How to Draw Line on Image in Matlab
- How to Iterate Through Matrix in MATLAB
- How to Maximize Figure in MATLAB
- How to Plot Sine Wave in Matlab
- How to Read CSV File in Matlab
- How to Round Number in Matlab
- How to Set Figure Name in MATLAB
- How to Sum Elements of a Matrix in MATLAB
- MATLAB Recursive Function
- Piecewise Function in MATLAB
- Text Box in MATLAB
- How to Create New Figure in Matlab
- How to Label Lines in MATLAB
- How to Loop Through Vector in MATLAB
- How to Plot an Equation in MATLAB
- How to Save Command Window Contents in MATLAB
- MATLAB Default Color Order
- How to Read XLSX in MATLAB
- MATLAB Brackets
- MATLAB MAT File
- MATLAB Optional Arguments
- MATLAB RGB Triplet
- MATLAB Transpose
- How to Check Variable Type in MATLAB
- How to Create Custom Legend in MATLAB
- How to Get the Size of Vector in Matlab
- How to Plot Histogram in MATLAB
- MATLAB Diagonal Matrix
- MATLAB Fprintf Table
- How to Create Log Plot in MATLAB
- How to Display String in MATLAB
- How to Plot Color Map in MATLAB
- How to Plot Line Styles in MATLAB
- MATLAB .* Operator
- MATLAB Axis Limits
- How to Comment Multiple Lines in MATLAB
- MATLAB & vs && Operator
- MATLAB asv File
- MATLAB Index Exceeds Matrix Dimensions
- MATLAB Max Index
- MATLAB Ternary Operator
- MATLAB vs Octave
Python How-To's
- How to Round Up to the Nearest Ten in Python
- How to Get User Input With Timeout in Python
- Python Generator Class
- How to Check Argument of Argparse in Python
- How to Flatten JSON in Python
- How to Compress Image in Python
- How to Get Home Directory in Python
- Python Abstract Property
- Python Crc32
- OpenCV ArUco Markers
- How to Undistort Images Using OpenCV
- How to Recognize Face in Python OpenCV
- How to Subtract Background in OpenCV
- How to Detect Object in Python OpenCV
- OpenCV Optical Flow
- How to Detect Edge in Python OpenCV
- How to OpenCV Save Image
- How to Use the waitKey Function in OpenCV
- Matrix Multiplication in OpenCV
- How to Use Erode in OpenCV
- How to Calculate Average Color of Image in OpenCV
- How to Combine Images in OpenCV
- How to Detect Rectangle in Python OpenCV
- OpenCV Convolution
- How to Detect Line in Python OpenCV
- How to Read Video in OpenCV
- OpenCV Hough Circles
- OpenCV Image Point
- OpenCV Perspective Transform
- OpenCV Remap
- How to Compare Images in OpenCV
- How to Create Image in Python OpenCV
- How to Detect Shape in OpenCV
- How to OpenCV Bounding Box
- OpenCV Histogram Equalization
- How to Detect Blob or Circle in OpenCV
- How to Detect Colors in Python OpenCV
- How to Find Contours in Python OpenCV
- How to Normalize Images in Python OpenCV
- How to Put Text on Images in OpenCV
- How to Rotate Image in OpenCV
C++ Howtos
C Howtos
- How to Use
- How to Create a Table in C
- Map or Structure in C
- MIN and MAX Function in C
- size_t in C
- How to Implicitly Declare A Function in C
Arduino Howtos
- How to Return Array From Function in Arduino
- Arduino ADC
- Arduino strcmp Function
- Arduino Strcpy Function
- How to Concatenate Strings in Arduino
- How to Create a Square Wave Generator in Arduino
- Arduino sscanf() Function
- How to Clear Serial Buffer in Arduino
- How to Define a Global Variable in Arduino
- How to Parse a String in Arduino
- How to Toggle Pin in Arduino
- Arduino Nested if Statement
- How to Add Delay in Microseconds in Arduino
- Arduino memset() Function
- How to Convert Byte to Integer in Arduino
- How to Generate Random Numbers in Arduino
- How to Print Char Array in Arduino
- How to Split String in Arduino
- How to Use Subroutine in Arduino
- How to Compare Strings in Arduino
- How to Make a Counter in Arduino
- How to Print to Console in Arduino
- How to Program Arduino With C++
- Arduino 2D Array
- Arduino ICSP
- Arduino if Statement
- Arduino Int to Char
- Arduino LED Resistor
- Arduino map() Function
- Arduino memcpy and memmove
- Arduino Natural Log
- Arduino Pull-Down Resistor
- Arduino Serial Flush
- Arduino strtok
- How to Convert Char to String in Arduino
- How to Print Multiple Variables in Arduino Serial
- How to Print New Line in Arduino
- How to Read String in Arduino Serial Port
- Arduino dtostrf() Function
- Arduino printf Function
- How to Fix Arduino Exit Status 1 Error
- How to Round A Float Number to The Nearest Integer in Arduino
- How to Wait for Input in Arduino
- Arduino millis() Function
- Arduino Port Greyed Out
- How to Clear Serial Monitor in Arduino
- How to Get Arduino Length of Array using the sizeof() Function
- How to Convert Char to Int in Arduino
- How to Convert Float to String in Arduino
- How to Power Arduino Nano With Battery
- How to Convert String to Char in Arduino
- How to Reset Arduino
- How to Stop a Loop Arduino
Plotly Howto's
- How to Plotly Violin Plot
- How to Plot 3D Scatter Plot in Plotly
- How to Plot Choropleth Map in Plotly
- How to Plot Gantt Chart in Plotly
- How to Plot Heatmap in Plotly
- How to Plot Histogram in Plotly
- How to Plot Line Chart in Plotly
- How to Plot Treemap in Plotly
- How to Plot Sankey Diagram in Plotly
- How to Plot Stacked Area Chart in Plotly
- How to Plot Bar Chart in Plotly
- How to Plot Table in Plotly
- How to Box Plot in Plotly
- How to Plot Bubble Chart in Plotly
- How to Plot Pie Chart in Plotly
Seaborn Howto's
- How to Create Seaborn Joint Plot
- How to Create Multiple Line Plot Seaborn
- How to Create Seaborn Confusion Matrix Plot
- How to Create Seaborn Horizontal Bar Plot
- How to Create Seaborn Pie Chart