Question

How can I do this on matlab? Steps would be greatly appreciated. Thanks. Can you draw the following functions? ·Y=x*sin(x) ·Y=x^2*sin(x) . Set x- to be from -50 to 50 What if I want to include the

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
close all
x=-50:0.01:50;
y1=x.*sin(x);
y2=(x.^2).*sin(x);
plot(x,y1,x,y2);
legend('x.*sin(x)','(x.^2).*sin(x)')

Figure 1 Eile Edit Yew Insert 1ools Desktop 岦indow Help 2500 ー. x sin(x) x sint) 2000 1500 1000 500 500 1000 1500 -2000 250

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
How can I do this on matlab? Steps would be greatly appreciated. Thanks . Can you...
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
  • Could someone explain these four promblems on matlab and if you do, could you write what...

    Could someone explain these four promblems on matlab and if you do, could you write what you wrote on matlab I.e. on the command window or script. Also if you have written anything by hand can you write neatly. Also an explain of how you did it would be greatly appreciated. 1] 5 points) Write the following set of equations in Matrix form and use Matlab to find the solution. 50 -5x3-6x2 2x2 + 7x3-30 x1-7x3-50-3x2 + 5x1 [2] (10...

  • I would like to have a better understanding of how to do Fourier transformations on Matlab....

    I would like to have a better understanding of how to do Fourier transformations on Matlab. If this is possible. Please show me how to: 1. have Matlab FIND the Fourier transformation of the two functions above. They do not have to be in the same program or anything. I just want to understand the syntax and semantics better. 2. THEN plot the Fourier transform that you found VIA MATLAB. The main thing that I am trying to do is...

  • It would be greatly appreciated if you can answer the following question with as much detail...

    It would be greatly appreciated if you can answer the following question with as much detail as possible, thank you. This question is MATLAB based and must be answered using MATLAB. This question is for Electrical Engineering Digital Signal Processing class. 1) Write a function that performs convolution by accepting two sequences with their starting and ending point and returning the output sequence and its position in time domain. Verify your results on sequences x(n)1,2,3; 1 n 3 and x(n)...

  • If you can show work to prove your question that would be greatly appreciated. Polar coordinates:...

    If you can show work to prove your question that would be greatly appreciated. Polar coordinates: 13. Describe the following curves: a./ r = 3, b./ r cos 0 = 3 c./ r sin 0 = 3 14. Convert from polar to rectangular coordinates: a./ r = 2 sino b./ r = 2 cos cos 15. Convert from rectangular to polar: a./ y=x2, b./ eV +2+y2 = 1 c./ ry = 1 Area calculation in polar coordinates. - sin

  • How to do this and if you can draw it, that would be appreciated 8. A...

    How to do this and if you can draw it, that would be appreciated 8. A photographer in a helicopter ascending vertically at a constant rate of 1.3 m/s accidentally drops a camera out the window when the helicopter is $4.0 m above the ground. (a) How long will it take the camera to reach the ground?

  • Not really sure how to solve this problem. The steps to do so would be greatly...

    Not really sure how to solve this problem. The steps to do so would be greatly appreciated. Thank you in advance. 11. Consider a circuit of two capacitors, C and C2, in series. Prove that the equivalent capacitance of the circuit is

  • Some help on this problem would be greatly appreciated. Thanks! 22. Draw a step-wise mechanism for...

    Some help on this problem would be greatly appreciated. Thanks! 22. Draw a step-wise mechanism for the following reaction: NH2 NH H+ C=0 OH

  • some help on B and C would be greatly appreciated, thanks! A magician wishes to create...

    some help on B and C would be greatly appreciated, thanks! A magician wishes to create the illusion of a 2.57-m-tall elephant. He plans to do this by forming a virtual image of a 72.0 cm tall model elephant with the help of a spherical mirror (a) Should the mirror be concave or convex? ? concave Explain A convex mirror would magnify the image. A convex mirror would do the opposite Score: 1 out of 1 Comment: (b) If the...

  • yes you will need matlab software Can someone please help me. attached is the exercise i...

    yes you will need matlab software Can someone please help me. attached is the exercise i am doing in matlab. also attached is the exercise that i am suppose to be doing.also attached is part a of my code and part b. also attached is an error code i am getting. can someone please help me with this. thanks. explain in detail what i am doing wrong and what i need to do to fix it. you use enogn polnts...

  • Please do both of the problems if you can please. It would be greatly appreciated. If...

    Please do both of the problems if you can please. It would be greatly appreciated. If you can't do both, then do the 2nd problem (Promlem 2.13). Thank you! Ch 2, Problem 2.3 The demand and supply curves for coffee are given by 600 2P and Q 4P 300+ Plot the supply and demand curves on a graph and show where the equilibrium occurs by marking it with an E. Label the point at which either curve touches the P...

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