Power set: Difference between revisions

Content added Content deleted
(Added a solution for MATLAB)
m (→‎{{header|MATLAB}}: Fixed a typo)
Line 812: Line 812:
ans =
ans =


{1x0 cell} {1x1 cell} {1x1 cell} {1x2 cell} %This is the same as { {},{{1,2}},{3},{{1,2},3}}</lang>
{1x0 cell} {1x1 cell} {1x1 cell} {1x2 cell} %This is the same as { {},{{1,2}},{3},{{1,2},3} }</lang>


=={{header|OCaml}}==
=={{header|OCaml}}==