Community Profile

photo

Matthew Corrie


Active since 2017

Statistics

Content Feed

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...

4 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 ...

6 years ago | 1 answer | 0

1

answer