Question: someone plz help me with this 4 parts matlab code thank you asap... Write a MATLAB script that creates the following four plots: 1. Plot

someone plz help me with this 4 parts matlab code thank you asap...
Write a MATLAB script that creates the following four plots: 1. Plot the number of ways to order n objects, i.e. n! Assume that n e (0,1 "Plot of 12). Label the x-axis with ",y-axis with "n!", and use the title 2. Notice that n! grows very quickly as n increases. Create a second plot of n! using the built-in MATLAB function semilogy instead of plot. Assume that n E 0,,121. Label the 3. Plot the number of ways to pick k out of n objects, where k n, and arrange then in a sequence, e. n! (n -k) Assume that n-12 and that k e 0,1,, 12). Label the x-axis with k", y-axis with n!/(n-k), and use the title "Plot of k-Permutations for n 12." Do not use log-scale for this plot. 4. Plot the number of k-element subsets of an n-element set, where kn, .e., n! Assume that n 12 and that k E {0,1, 12). Label the x-axis with "ky-axis with "n!/k!(n-k)!", and use the title "Plot of Combinations for n-12." Do not use log-scale for this plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
