Plotting 2 values on same axis?
Mostra commenti meno recenti
I made three different algorithms for finding the binomial coefficient (nCk) and my assignment requires me to devise a test for testing them and comparing them against each other. I thought the best way would be to plot the value of (n,k) vs the count of the number of elements I calculated. (n,k) as in nCk or as some people write it nCk(n,k) (n = number of elements, k = to the number of elements to be chosen, nCk = number of combinations; just to be extra clear). my problem is that I cannot get to plot a graph that says (n,k) (e.g. (1,1), (2,1), (2,2) ....) on the x axis. Is there any way to do that in MATLAB?
Risposte (0)
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!