photo

Matthew Corrie


Active since 2017

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Coupon Collector Problem Code
I've been trying to create a program to calculate the mean time taken to collect all coupons in the coupon collector problem. It...

5 years ago | 2 answers | 0

2

answers

Question


Im writing a script to iterate through factorials, while storing each factorial in an array. Why does it keep saying there aren't enough inputs?
Sorry, I'm new to matlab, heres the code: %% Function to compute the factorial n! function s = myfact(n) % input n, output ...

7 years ago | 1 answer | 0

1

answer