Problem 2215. Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V.
Software is always cheaper than hardware (well, most of the time), so we solve this with a program, a Matlab function, to be precise.
Write a program that converts the supplied input voltage to the required output voltage.
If you like this problem, please like it (after solving).
Solution Stats
Problem Comments
-
1 Comment
J-G, thanks for the problem. Could you add some more information about expected inputs and outputs? An example and some more tests would be helpful too. If your test suite has exactly one test, it's trivial to write a correct answer.
Solution Comments
Show commentsProblem Recent Solvers104
Suggested Problems
-
Maximum running product for a string of numbers
2161 Solvers
-
Find the maximum number of decimal places in a set of numbers
2854 Solvers
-
Generate N equally spaced intervals between -L and L
865 Solvers
-
07 - Common functions and indexing 3
412 Solvers
-
441 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!