Could any body check my work? (Plot the function)
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
x = [-56:64];
y = [3.*x^2-5.*x-6];
plot(x,y,'--r','LineWidth',0.5)
xlabel('e')
ylabel('n')
title('kg')
Is this the proper answer for the question? Is there anything I should change for it to become the correct answer?

댓글 수: 0
채택된 답변
  madhan ravi
      
      
 2019년 8월 24일
        Your x and y doesn’t need square brackets. Check your title once again.
댓글 수: 9
  madhan ravi
      
      
 2019년 8월 24일
				https://in.mathworks.com/matlabcentral/answers/477409-could-any-body-check-my-work-plot-the-function#comment_738540 - probably reading that link in the comment should help you understand basically you’re still stuck in the fundamentals of MATLAB.
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Control System Toolbox에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

