The Binary Arithmetic Calculator is a sophisticated MATLAB application designed to perform various arithmetic operations in different number systems. It offers a user-friendly interface with advanced features, making it an ideal tool for students, educators, and professionals working with binary, octal, decimal, or hexadecimal arithmetic.
- 🔢 Support for multiple number systems:
- Binary (2)
- Octal (8)
- Decimal (10)
- Hexadecimal (16)
- ➕ Basic arithmetic operations (addition, subtraction, multiplication, division)
- 🔀 Bitwise operations (AND, OR, XOR, NOT)
↔️ Shift operations (left shift, right shift)- 🧮 Advanced mathematical operations (modulo, power, square root, logarithm)
- 📏 Adjustable number length (4-32 bits)
- ➖ Two's complement support for signed numbers
- 🔄 Signed mode for negative number representation
- 🎯 Floating-point mode with adjustable precision
- 🚀 Auto-calculate functionality
- 📜 Operation history tracking with simplified symbols
- 📊 Number visualization for both integer and floating-point representations
- 🔟 Decimal result display
- 🔎 Bit representation display
- 📋 Copy result to clipboard functionality
- ✅ Comprehensive input validation
- 🎨 User-friendly interface with tooltips and instructions
- 📚 Conversion history tracking
- Ensure you have MATLAB R2021a or later installed on your system.
- Clone this repository:
git clone https://github.com/VoxDroid/Binary-Arithmetic-Calculator.git
- Open MATLAB and navigate to the cloned directory.
- Run the
BinaryArithmeticCalculator.m
file to start the application.
- Launch the application by running
BinaryArithmeticCalculator.m
in MATLAB. - Use the intuitive UI to perform calculations:
- Enter numbers in the input fields
- Select the desired operation
- Adjust settings like binary length, signed mode, or floating-point mode
- Click "Calculate" or enable "Auto Calculate" for instant results
- Explore additional features:
- View operation history
- Visualize results in the Visualization tab
- Check conversion history in the Conversion History tab
- Read the built-in tutorial for detailed instructions
This project is licensed under the MIT License. See the LICENSE file for details.
Project Link: https://github.com/VoxDroid/Binary-Arithmetic-Calculator.git