Community Profile |

Now I see. I haven't nested functions like that before. -- Petter

*2000* views

Responded 5 years ago

Solves the 0-1 knapsack problem with positive integer weights.

37 downloads

6 years ago

27 downloads

3 years ago

Yet another way: char(' '*char(ones(m,n)))

1

Answered 4 years ago