Problem 60795. Ohm’s Law - Calculate Resistance

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

82.4% Correct | 17.6% Incorrect
Last Solution submitted on May 11, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers181

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!