Feeds
已回答
1. Plot the functions x, x3 , ex and ex^2 together over the interval 0 < x < 4 ... a. on rectangular (linear) coordinates b. on semilog scale (logarithm on the y-axis) c. on log-log scale
N = 500 ; x = linspace(0,4,N) ; y1 = x ; y2 = x.^3 ; y3 = exp(1)*x ; y4 = exp(1)*x.^2 ; % plot figure hold on plot(...
1. Plot the functions x, x3 , ex and ex^2 together over the interval 0 < x < 4 ... a. on rectangular (linear) coordinates b. on semilog scale (logarithm on the y-axis) c. on log-log scale
N = 500 ; x = linspace(0,4,N) ; y1 = x ; y2 = x.^3 ; y3 = exp(1)*x ; y4 = exp(1)*x.^2 ; % plot figure hold on plot(...
4 years 前 | 0
