File Exchange

image thumbnail

GUI for Resistance Calculations

version (495 KB) by Imtiaz Hussain
Its a very simple GUI to calculate Resistance of a four band resistor from color codes.


Updated 09 Jun 2008

No License

The purpose of the GUI is to demonstrate the basic features of creating GUI because I have used very simple programming to create the GUI and it may help begginers who want to cretae more complex GUIs.

Cite As

Imtiaz Hussain (2021). GUI for Resistance Calculations (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Sheeza Sabir


how can I play this video please help


For some nice info on resistor color code

Yawar Rehman

Gr8 GUI for resistance calculation; indeed another example of virtual instrumentation.

Imtiaz Hussain

Dear Bulgor Tunsoy
If you will have a look on colorcoding.m from line number 157 I have assigned a numeric value to each color in each case u can do same.

Bulgor Tunsoy

great...but i have the idea to give the color code of the given resistor then let this application calculate its resistance value..and it's tolerance, can u help me pls...

K. Joseph Chee

I like it very much!

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!