commutative? - MATLAB Cody - MATLAB Central

Problem 373. commutative?

Difficulty:Rate

Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

Solution Stats

65.13% Correct | 34.87% Incorrect
Last Solution submitted on Jun 25, 2025

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...

Problem Recent Solvers114

Suggested Problems

More from this Author100

Problem Tags

Community Treasure Hunt

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

Start Hunting!