Ammar Ali avatar Ammar Ali avatar

About Ammar Ali

LinkedIn Facebook

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

  1. How to Setup a Raspberry Pi File Server
  2. How to Setup MySQL in Raspberry Pi
  3. DNS Server on Raspberry Pi
  4. How to Use Dropbox on Raspberry Pi
  5. How to Use Plex Media Player on Raspberry Pi
  6. Raspberry Pi Pinout
  7. Chrome on Raspberry Pi
  8. How to Install Firefox for Raspberry Pi
  9. How to Install On-Screen Keyboard for Raspberry Pi

JavaScript Howtos

  1. How to Change Attribute in JavaScript
  2. How to Show/Hide Div onClick in JavaScript
  3. How to Use OpenCV JavaScript to Displaying an Image
  4. Introduction to OpenCV JavaScript
  5. How to Use OpenCV JavaScript to Capture and Play Video
  6. How to Alert Yes No With the confirm() Function in JavaScript
  7. How to Change Input Value in JavaScript
  8. How to Change the Background Color in JavaScript
  9. How to Compare Objects in JavaScript
  10. How to Convert Array to JSON in JavaScript
  11. How to Convert RGB to HEX in JavaScript
  12. How to Move Element in JavaScript
  13. How to Toggle a Button in JavaScript
  14. How to Convert Date to UTC in JavaScript
  15. How to Get the Timezone in JavaScript
  16. How to Add Character to String in JavaScript
  17. How to Clone an Array in JavaScript
  18. How to Append to String in JavaScript
  19. How to Create Fibonacci in JavaScript
  20. How to Find Max/Min Value in JavaScript Array
  21. How to Get the Timestamp in JavaScript
  22. How to Pick Random Value From Array in JavaScript
  23. How to Reverse Array in JavaScript
  24. How to Submit Form on Click in JavaScript
  25. JavaScript Stack and Queue
  26. JavaScript Unique Array
  27. How to Append Array to Another in JavaScript
  28. How to Sort Array of Objects Alphabetically in JavaScript
  29. Integer Division in JavaScript
  30. Window Resize Event in JavaScript
  31. How to Change Text in JavaScript
  32. JavaScript Average Function
  33. How to Add Class to Element in JavaScript
  34. How to Add Object to Array in JavaScript
  35. How to Change Image Source JavaScript
  36. How to Remove Item From Array by Value in JavaScript
  37. JavaScript Enums

Matlab Howtos

  1. MATLAB kstest() Function
  2. MATLAB Norm of Rows of a Matrix
  3. How to Reverse Colormap in MATLAB
  4. MATLAB Deg2rad Function
  5. MATLAB Quantile
  6. MATLAB Waterfall Plot
  7. How to Export Data From MATLAB to Excel
  8. How to Remove NaN From Vector in MATLAB
  9. MATLAB Repelem() Function
  10. MATLAB Inverse Fast Fourier Transform
  11. How to Create Polar Plot in MATLAB
  12. How to Insert Variable Into String in MATLAB
  13. How to MATLAB Sort Rows
  14. How to Remove Zeros From a Vector in MATLAB
  15. MATLAB Line Continuation
  16. How to Calculate Fibonacci Sequence in MATLAB
  17. MATLAB corr2() Function
  18. MATLAB Norm() Function
  19. How to Append Vector to 3D Matrix in MATLAB
  20. How to Plot Multiple Data Sets on a Single Scatter Plot in MATLAB
  21. MATLAB Image Low Pass Filter
  22. How to Calculate Inverse Cosine in MATLAB
  23. MATLAB Repmat
  24. The caxis() Function in MATLAB
  25. The mvnpdf() Function in MATLAB
  26. The nnz() Function in MATLAB
  27. MATLAB fzero Function
  28. MATLAB sin() and sind() Functions
  29. How to Generate a Summation of a Series in MATLAB
  30. How to Use Greek Symbols in Bar Graph Labels in MATLAB
  31. How to Apply Geometric Transformation to Images in MATLAB
  32. How to Convert Number to String in MATLAB
  33. How to Find K-Nearest Neighbors in MATLAB
  34. How to Check CPU Time in MATLAB
  35. MATLAB sscanf() Function
  36. How to Check the Existence of a File in MATLAB
  37. Newton-Raphson Method in MATLAB
  38. How to Plot 3D in MATLAB
  39. How to Calculate Image Histogram in MATLAB
  40. How to Determine Which Characters Are Letters in MATLAB
  41. How to Plot Root Locus in MATLAB
  42. MATLAB Data Types
  43. MATLAB Image Dilation
  44. MATLAB Trapezoidal Rule
  45. MATLAB Variables
  46. 2D Interpolation Using MATLAB
  47. How to Calculate Cumulative Sum Using MATLAB
  48. How to Create Low Pass Filter in MATLAB
  49. How to Get Random Permutation Using MATLAB
  50. How to Plot 3D Bar Graph in MATLAB
  51. How to Plot 3D Contour in MATLAB
  52. How to Plot 3D Line or Point in MATLAB
  53. How to Plot 3D Quiver or Vector in MATLAB
  54. The Conditional Statement in MATLAB
  55. How to Create Scatter Plot in MATLAB
  56. How to Make a Column Vector in MATLAB
  57. How to Plot Circle in MATLAB
  58. How to Resize Image in MATLAB
  59. The Diff() Function in MATLAB
  60. The linspace() Function in MATLAB
  61. The meshgrid() Function in MATLAB
  62. How to Change Legend Title in MATLAB
  63. How to Concatenate String in MATLAB
  64. How to Plot a Horizontal Line in MATLAB
  65. How to Plot Mesh Surface in MATLAB
  66. How to Plot Multiple Plots in MATLAB
  67. The find() Function in MATLAB
  68. How to Clear Variables in MATLAB
  69. How to Extract Frames From Video Using MATLAB
  70. How to Find Reduced Row Echelon Form MATLAB
  71. How to Flip Image in MATLAB
  72. How to Get Erosion of an Image in MATLAB
  73. How to Get Negative of an Image in MATLAB
  74. Integration in MATLAB
  75. How to Create a Function in MATLAB
  76. How to Create Array of Zeros in MATLAB
  77. How to Find Index of Value in Array in Matlab
  78. How to Get Average of Array With the mean() Function in Matlab
  79. How to Sum Elements of an Array in MATLAB
  80. Inverse Laplace Transform Using MATLAB
  81. MATLAB Eigenvalues and Eigenvectors
  82. System of Linear Equation in MATLAB
  83. How to Create Random Matrix in MATLAB
  84. How to Find String in MATLAB
  85. How to Return Multiple Values From a Matlab Function
  86. MATLAB Dirac Delta Function
  87. How to Apply Subplot Title in MATLAB
  88. How to Hide Axis in MATLAB
  89. How to Plot Bode Diagram in MATLAB
  90. MATLAB Global Variables
  91. How to Convert ASCII to String in MATLAB
  92. How to Convert RGB to Gray Scale in Matlab
  93. How to Get Roots of Polynomial in Matlab
  94. How to Shift Array in MATLAB
  95. MATLAB Mean Filter
  96. MATLAB White Noise
  97. How to Draw Arrow in MATLAB
  98. How to Get Array Size Limit in MATLAB
  99. How to Get Ramp Input Response in MATLAB
  100. How to Create Animated Plot in MATLAB
  101. How to Draw Line on Image in Matlab
  102. How to Iterate Through Matrix in MATLAB
  103. How to Maximize Figure in MATLAB
  104. How to Plot Sine Wave in Matlab
  105. How to Read CSV File in Matlab
  106. How to Round Number in Matlab
  107. How to Set Figure Name in MATLAB
  108. How to Sum Elements of a Matrix in MATLAB
  109. MATLAB Recursive Function
  110. Piecewise Function in MATLAB
  111. Text Box in MATLAB
  112. How to Create New Figure in Matlab
  113. How to Label Lines in MATLAB
  114. How to Loop Through Vector in MATLAB
  115. How to Plot an Equation in MATLAB
  116. How to Save Command Window Contents in MATLAB
  117. MATLAB Default Color Order
  118. How to Read XLSX in MATLAB
  119. MATLAB Brackets
  120. MATLAB MAT File
  121. MATLAB Optional Arguments
  122. MATLAB RGB Triplet
  123. MATLAB Transpose
  124. How to Check Variable Type in MATLAB
  125. How to Create Custom Legend in MATLAB
  126. How to Get the Size of Vector in Matlab
  127. How to Plot Histogram in MATLAB
  128. MATLAB Diagonal Matrix
  129. MATLAB Fprintf Table
  130. How to Create Log Plot in MATLAB
  131. How to Display String in MATLAB
  132. How to Plot Color Map in MATLAB
  133. How to Plot Line Styles in MATLAB
  134. MATLAB .* Operator
  135. MATLAB Axis Limits
  136. How to Comment Multiple Lines in MATLAB
  137. MATLAB & vs && Operator
  138. MATLAB asv File
  139. MATLAB Index Exceeds Matrix Dimensions
  140. MATLAB Max Index
  141. MATLAB Ternary Operator
  142. MATLAB vs Octave

Python How-To's

  1. How to Round Up to the Nearest Ten in Python
  2. How to Get User Input With Timeout in Python
  3. Python Generator Class
  4. How to Check Argument of Argparse in Python
  5. How to Flatten JSON in Python
  6. How to Compress Image in Python
  7. How to Get Home Directory in Python
  8. Python Abstract Property
  9. Python Crc32
  10. OpenCV ArUco Markers
  11. How to Undistort Images Using OpenCV
  12. How to Recognize Face in Python OpenCV
  13. How to Subtract Background in OpenCV
  14. How to Detect Object in Python OpenCV
  15. OpenCV Optical Flow
  16. How to Detect Edge in Python OpenCV
  17. How to OpenCV Save Image
  18. How to Use the waitKey Function in OpenCV
  19. Matrix Multiplication in OpenCV
  20. How to Use Erode in OpenCV
  21. How to Calculate Average Color of Image in OpenCV
  22. How to Combine Images in OpenCV
  23. How to Detect Rectangle in Python OpenCV
  24. OpenCV Convolution
  25. How to Detect Line in Python OpenCV
  26. How to Read Video in OpenCV
  27. OpenCV Hough Circles
  28. OpenCV Image Point
  29. OpenCV Perspective Transform
  30. OpenCV Remap
  31. How to Compare Images in OpenCV
  32. How to Create Image in Python OpenCV
  33. How to Detect Shape in OpenCV
  34. How to OpenCV Bounding Box
  35. OpenCV Histogram Equalization
  36. How to Detect Blob or Circle in OpenCV
  37. How to Detect Colors in Python OpenCV
  38. How to Find Contours in Python OpenCV
  39. How to Normalize Images in Python OpenCV
  40. How to Put Text on Images in OpenCV
  41. How to Rotate Image in OpenCV

C++ Howtos

  1. Binary Search Tree Destructor in C++
  2. C++ Tic Tac Toe Game
  3. C++ Cube Root

C Howtos

  1. How to Use
  2. How to Create a Table in C
  3. Map or Structure in C
  4. MIN and MAX Function in C
  5. size_t in C
  6. How to Implicitly Declare A Function in C

Arduino Howtos

  1. How to Return Array From Function in Arduino
  2. Arduino ADC
  3. Arduino strcmp Function
  4. Arduino Strcpy Function
  5. How to Concatenate Strings in Arduino
  6. How to Create a Square Wave Generator in Arduino
  7. Arduino sscanf() Function
  8. How to Clear Serial Buffer in Arduino
  9. How to Define a Global Variable in Arduino
  10. How to Parse a String in Arduino
  11. How to Toggle Pin in Arduino
  12. Arduino Nested if Statement
  13. How to Add Delay in Microseconds in Arduino
  14. Arduino memset() Function
  15. How to Convert Byte to Integer in Arduino
  16. How to Generate Random Numbers in Arduino
  17. How to Print Char Array in Arduino
  18. How to Split String in Arduino
  19. How to Use Subroutine in Arduino
  20. How to Compare Strings in Arduino
  21. How to Make a Counter in Arduino
  22. How to Print to Console in Arduino
  23. How to Program Arduino With C++
  24. Arduino 2D Array
  25. Arduino ICSP
  26. Arduino if Statement
  27. Arduino Int to Char
  28. Arduino LED Resistor
  29. Arduino map() Function
  30. Arduino memcpy and memmove
  31. Arduino Natural Log
  32. Arduino Pull-Down Resistor
  33. Arduino Serial Flush
  34. Arduino strtok
  35. How to Convert Char to String in Arduino
  36. How to Print Multiple Variables in Arduino Serial
  37. How to Print New Line in Arduino
  38. How to Read String in Arduino Serial Port
  39. Arduino dtostrf() Function
  40. Arduino printf Function
  41. How to Fix Arduino Exit Status 1 Error
  42. How to Round A Float Number to The Nearest Integer in Arduino
  43. How to Wait for Input in Arduino
  44. Arduino millis() Function
  45. Arduino Port Greyed Out
  46. How to Clear Serial Monitor in Arduino
  47. How to Get Arduino Length of Array using the sizeof() Function
  48. How to Convert Char to Int in Arduino
  49. How to Convert Float to String in Arduino
  50. How to Power Arduino Nano With Battery
  51. How to Convert String to Char in Arduino
  52. How to Reset Arduino
  53. How to Stop a Loop Arduino

Plotly Howto's

  1. How to Plotly Violin Plot
  2. How to Plot 3D Scatter Plot in Plotly
  3. How to Plot Choropleth Map in Plotly
  4. How to Plot Gantt Chart in Plotly
  5. How to Plot Heatmap in Plotly
  6. How to Plot Histogram in Plotly
  7. How to Plot Line Chart in Plotly
  8. How to Plot Treemap in Plotly
  9. How to Plot Sankey Diagram in Plotly
  10. How to Plot Stacked Area Chart in Plotly
  11. How to Plot Bar Chart in Plotly
  12. How to Plot Table in Plotly
  13. How to Box Plot in Plotly
  14. How to Plot Bubble Chart in Plotly
  15. How to Plot Pie Chart in Plotly

Seaborn Howto's

  1. How to Create Seaborn Joint Plot
  2. How to Create Multiple Line Plot Seaborn
  3. How to Create Seaborn Confusion Matrix Plot
  4. How to Create Seaborn Horizontal Bar Plot
  5. How to Create Seaborn Pie Chart

Python Matplotlib Howto's

  1. How to Use Error Bar in Python Matplotlib