Question

Plot the values for the following N = 10, 10^2 , 10^3,...., 10^10 use log scale...

Plot the values for the following N = 10, 10^2 , 10^3,...., 10^10 use log scale for both axes.

N^1/3 , 10N+3, 3N+10logN, N log N , N-5, N^3, 1.0001^N

Not sure where to start

Homework Answers

Answer #1

MATLAB Code:

close all
clear
clc

N = 10.^(1:1:10);
subplot(241), loglog(N, N.^(1/3)), title('N^1 ^/ ^3')
subplot(242), loglog(N, 10*N+3), title('10N+3')
subplot(243), loglog(N, 3*N+10*log(N)), title('3N+10log(N)')
subplot(244), loglog(N, N.*log(N)), title('Nlog(N)')
subplot(245), loglog(N, N-5), title('N-5')
subplot(246), loglog(N, N.^3), title('N^3')
subplot(247), loglog(N, 1.0001.^N), title('1.0001^N')

Output:

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. What is a "log-log" plot? a. A plot on which all quantities are related by...
1. What is a "log-log" plot? a. A plot on which all quantities are related by straight lines. b. A plot of the log of the log of a quantity. c. A plot relating the log of one quantity to the log of another quantity. d. A type of plot that describes the power output of a star. 2. What is the significance of a straight line on a log-log plot? a. It means that the quantities represented must be...
Put the following complexity classes in ascending order. O(n log n) O(n) O(2^n) O(n^3)
Put the following complexity classes in ascending order. O(n log n) O(n) O(2^n) O(n^3)
Use logarithms to solve the following. (a) log (5x – 1) = log (x + 5)...
Use logarithms to solve the following. (a) log (5x – 1) = log (x + 5) (b) log x + log(x – 1)= log (5x) (c) e^(0.4t) = e^8 (d) 3^(5x + 1)= 3^(6 - 3x)
plot use mat lab -5<n<5 x1[n] =u[n-2]
plot use mat lab -5<n<5 x1[n] =u[n-2]
Find the sum of the following series:∞∑n=2 5^n/13^(n+3) Determine whether the following series are con-vergent or...
Find the sum of the following series:∞∑n=2 5^n/13^(n+3) Determine whether the following series are con-vergent or not. Show your work!∞∑n=2 5n^2+ 5n/7n^2+ 3n+ 6
1.Determine the generation time by using the following formula : Generation time =∆ t log 2...
1.Determine the generation time by using the following formula : Generation time =∆ t log 2 Log n – log N Where: N = number of bacteria at a particular time point during log phase n = number of bacteria at a second time point during log phase ∆t = time (This question was not anwsered in my previos question that i posted , please help. ) (please check the details and information needed on this question in my prevoius...
Matlab Create plot of the following density functions using x values between -10 and 10 with...
Matlab Create plot of the following density functions using x values between -10 and 10 with an increment of 0.02 -Normal cumulative distribution function with mu=1, sigma=1, mu=0, sigma=2, mu=0,sigma=1/2
Xi 1 2 3 4 Yi 12 10 2 1 (a) Make a scatter plot of...
Xi 1 2 3 4 Yi 12 10 2 1 (a) Make a scatter plot of the four data points (b) Compute the least-squares linear regression (c) Plot the regression line over your scatter plot Show the values of b0 and b1
Assignments Generate and plot the signal x1(t) = 1+ sin (4pt), for t ranging from -1...
Assignments Generate and plot the signal x1(t) = 1+ sin (4pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title. Generate and plot the function x2(t) = sin (30pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title. Generate and plot the combination function x3(t) = x1(t)*x2(t) as above. Use proper axes labels with title. Generate and plot the sum of two cosine waves   v1(t) =...
Sketch a graph of the function h(x)=3/2sec2x by first sketching a graph of y = 3/2cos2x...
Sketch a graph of the function h(x)=3/2sec2x by first sketching a graph of y = 3/2cos2x and then drawing the graph of y=h(x) on top of it. [Since you are drawing two graphs on the same set of axes, either use a different color to distinguish between the graphs or make one a dashed curve and the other solid.] Be sure to show work and intermediate steps to demonstrate that you did this WITHOUT a calculator or graphing program. On...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT