Problem 42637. Singleton Expansion without BSXFUN

BSXFUN is very useful and fast.

In R2015b we can implement singleton expansion without BSXFUN, see the test suite for details. Have fun :-)

Input and Output:

yf = yourFcn(1) % Output a function handle supported singleton expansion.
yf = yourFcn(0) % Output a function handle unsupported singleton expansion.

Solution Stats

37.5% Correct | 62.5% Incorrect
Last Solution submitted on Nov 21, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers7

Suggested Problems

More from this Author8

Problem Tags

Community Treasure Hunt

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

Start Hunting!