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
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

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!