Question: 1 a- Write a matlab function that takes 2 numbers as input parameters and returns their combination as an output parameter. Example: 5! / ((5-2)!

1

a- Write a matlab function that takes 2 numbers as input parameters and returns their combination as an output parameter. Example: 5! / ((5-2)! * 2!) = 10 b Write a matlab function that takes 2 numbers as input parameters and returns both its permutation and its combination as output parameters.

c Write a matlab function that takes a vector as an input parameter and returns its average as an output parameter. Vector = [5, 0, 2, 4, 1, 6] Average is 3 d Write a matlab function that takes a vector as an input parameter and returns its standard deviation and variance as output parameters. Example: Permutasyon = 5! / (5-2)! = 20 Combinasyon = 5! / ((5-2)! * 2!) = 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!