Ohm’s Law states that resistance R can be calculated as:R=V/I​
where:
  • V is the voltage (in volts)
  • I is the current (in amperes)
  • R is the resistance (in ohms)
Write a function to compute resistance given voltage and current.

Solution Stats

734 Solutions

566 Solvers

Last Solution submitted on Apr 16, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers566

Suggested Problems

More from this Author20

Problem Tags

Community Treasure Hunt

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

Start Hunting!