Question
matlab only!
Question 1 Plot the following: 0SXS10T, with increments of 0.1 T fx) x2sin(x) Use a green dashed line type with square marker
0 0
Add a comment Improve this question Transcribed image text
Answer #1

x = 0:0.1*pi : 10*pi;

% result in x^2 vector ( multipy A(i, j) with A(i, j) to get ab(i,j)
fx = x.*x ;
fx1 = fx.*(sin(x));
plot(x , fx1 , ' --gs') ;
xlabel('X axis ') ;
ylabel( 'X*Xsin(x) ') ;

1000 500 -500 -1000 5 10 15 20 25 35 Х ахis 30 -- E X*Xsin(x)

Add a comment
Know the answer?
Add Answer to:
matlab only! Question 1 Plot the following: 0SXS10T, with increments of 0.1 T fx) x2sin(x) Use a green dashed line t...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Plot the following: For x between -4pi to +4pi f(x)-x"sin(x-1) Use a blue dotted line type...

    Plot the following: For x between -4pi to +4pi f(x)-x"sin(x-1) Use a blue dotted line type with asterisk markers. Add a title for the x axis as 'x'and 'x squared sine of 1 over x' for the y axis.

  • Use the MATLAB plot editing tools (Figure Editor) to modify the plot in Question 1. Change...

    Use the MATLAB plot editing tools (Figure Editor) to modify the plot in Question 1. Change the line representing the function y(x)=e^-0.5x sin 2x to a black dashed line that is 1-point-wide, and change the marker to diamond of size 10.

  • MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY (x(t), y(t)) (t - sint, 1- cost 1....

    MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY (x(t), y(t)) (t - sint, 1- cost 1. (15 pts) Consider the parametrized curve 0,7] 2) (10pts) Calculate the length of (x(t), y(t)) from 0 to 7 1) (5pts) Plot the graph of parametrized curve on (x(t), y(t)) (t - sint, 1- cost 1. (15 pts) Consider the parametrized curve 0,7] 2) (10pts) Calculate the length of (x(t), y(t)) from 0 to 7 1) (5pts) Plot the graph of parametrized curve on

  • Matlab help 1) Given the functions x1()= tu()-tuft-1) and X2(t)=10e-5,11(), do the following: 1. Plotx,(t) and x2(0) using MATLAB 2. Use MATLAB to find and plot x(0=x:@*.x2(t), where * denotes co...

    Matlab help 1) Given the functions x1()= tu()-tuft-1) and X2(t)=10e-5,11(), do the following: 1. Plotx,(t) and x2(0) using MATLAB 2. Use MATLAB to find and plot x(0=x:@*.x2(t), where * denotes convolution. 3. Find x(t)=x;()*X2(1) by hand using Laplace transforms. 4. Plot the result of part 3 in MATLAB and compare it to that found in part 2. 2) Given the transfer function shown below, do the following: 1. Find the system's impulse response and plot it using MATLAB 2. Repeat...

  • These questions are to be answered using MATLAB. I only need #3 answered, but #1 provides...

    These questions are to be answered using MATLAB. I only need #3 answered, but #1 provides information (like initial velocity, etc.) required for the questions. I think I have it done, but I'd like to see if there are other ways to use MATLAB for this question. PROJECTILES The distance a projectile travels when fired at an angle 8 is a function of time and can be divided into horizontal and vertical distances. Horizontal (1) = 1.V.cos(0) Vertical(t) = 1•...

  • Need help with this Matlab program %% Exercise 1 % NOTE: Please suppress output--i.e., use a...

    Need help with this Matlab program %% Exercise 1 % NOTE: Please suppress output--i.e., use a semicolon ';' at the end of any % commands for which the output is not necessary to answer the question. % Delete these notes before turning in. % Define input variable theta as discretized row vector (i.e., array). theta = ??; % Define radius. r = ??; % Define x and y in terms of theta and r. x = ??; y = ??;...

  • Please help me with this MATLAB programming problem! Im coding iin MATLAB2018 if that makes any d...

    Please help me with this MATLAB programming problem! Im coding iin MATLAB2018 if that makes any difference! The first picture is the question i need to answer. The picture below is used as reference to answer the question. The last picture (below) is the into to the problem, and is used as reference. 1. Use Matlab to create the following single plot with three subplots. All titles, gridlines, and axis labels should be as shown. Arc System Response 15 E...

  • Numerical method For matlab For the following equation 20 Marks fx)-1-(5 log1o x)-x2 a. Plot the...

    Numerical method For matlab For the following equation 20 Marks fx)-1-(5 log1o x)-x2 a. Plot the function graphically from 0 to 2 using fplot. b. Find out the average value of f(x) for x -0 to 8 and display it using fprintf. Show final result with 2 decimal digits. Hint: You have to use a for loop, mean0, log100 functions of Matlab. Vrite a function which returns determinant, transpose and square of a matrix as output. To I file for...

  • Write as a MatLab function P5: For X=0 ~ 2π with intervals of π/100 use the...

    Write as a MatLab function P5: For X=0 ~ 2π with intervals of π/100 use the following equations Y4=sin(X), Y5=sin(X-0.25), Y6=sin (X-1.5), Y7=sin(X-0.85), Y8=sin(X)sin(X+0.75) a. Plot Y4, Y5 and Y6 in the same plot. Add title, labels, legend. Plot them with different colors and line styles b. Plot Y4, Y5, Y6 and Y7 as subplots. Add title, labels. Plot them with different colors and line styles c. Plot Y4 and Y8 in the same plot using the hold on/off. Add...

  •    MATLAB SCRIPT PLEASE Matlab MATH 210 in 2020 Homework Assignment 8- Due 3/25, 11:59PM Each...

       MATLAB SCRIPT PLEASE Matlab MATH 210 in 2020 Homework Assignment 8- Due 3/25, 11:59PM Each plot should have its own figure associated with it. In all questions, give the figure a title, and label the acis. Save your matlab script as drill 10.m Do not use the fplot command. 1. Plot the function f(x) = (x + 5)2 for -5 <<<10. Include a plot title, and label both aris. 2. Use the subplot command to make two plots of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT