MATLAB equivalent of Python - reduce
~Example:
syms a b c d e
>> fold(@power, [a b c d e])
ans =
(((a^b)^c)^d)^eSearch
Oct 01, 20241 min read
MATLAB equivalent of Python - reduce
syms a b c d e
>> fold(@power, [a b c d e])
ans =
(((a^b)^c)^d)^e