MATLAB: I need help of that output’s code please. Thanks in advance. homeworktaylor series function using matlab Best Answer Hints: check out plot(), linspace(), factorial() and "hold".x = linspace(-3, 3, 500);plot(x, x, '--');grid on;hold on;y1 = ....... Check out factorial() in the help.plot(x, y1, 'b.')y2 = ....... Check out factorial() in the help.plot(x, y2, 'r-');and so on for the other equations. Related SolutionsMATLAB: I need to solve an equation which is dependent on another equation and get the required plot. How can i do that Solve equation 1, store result in a variable, use said variable as input to equation 2? Here is a quick example~x = 0:0.1:5;y1 = 2*x + 3;y2 = 3*y1 - 2;plot(x,y2)title('y1 = f(x) y2 = f(y1)')legend('y2','location','southeast')xlabel('inputs')ylabel('outputs')Hope that helps? MATLAB: How to divide the output’s each value in the x-axis by 1.16*10^6 plot((1:size(prcdata,1))./1.16E6, prcdata)You were changing the y values, but you want to change the x values. Related QuestionPlotyy making extra lines
Best Answer