Create a function that subtracts b from a if a and b are integers and adds them if they are floats.

Solution Stats

384 Solutions

130 Solvers

Last Solution submitted on Apr 03, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers130

Suggested Problems

More from this Author14

Community Treasure Hunt

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

Start Hunting!