Could any body check my work? (Plot the function)
1 回表示 (過去 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?
![Question assignment.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235172/Question%20assignment.jpeg)
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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!