Draw the ezplot for the function ๐‘ฅ^ 2 + 6๐‘ฅ + 55

์กฐํšŒ ์ˆ˜: 3 (์ตœ๊ทผ 30์ผ)
Divyansh Harsh
Divyansh Harsh 2021๋…„ 10์›” 14์ผ
๋Œ“๊ธ€: Image Analyst 2021๋…„ 10์›” 19์ผ
WANT A CODE PLS

๋‹ต๋ณ€ (2๊ฐœ)

KSSV
KSSV 2021๋…„ 10์›” 14์ผ
It is very striaght forward and very easy to plot. Just read the documentation. It got example problem with which you can learn to do the presennt problem.

Image Analyst
Image Analyst 2021๋…„ 10์›” 14์ผ
I never use ezplot() - I just specify the range and other options explicitly. You might try this:
x = linspace(-10, 10, 1000);
y = x .^ 2 + 6 * x + 55;
plot(x, y, 'b-', 'LineWidth', 3);
grid on;
title('y = x .^ 2 + 6 * x + 55', 'FontSize', 20);
xlabel('x', 'FontSize', 20);
ylabel('y', 'FontSize', 20);
ax = gca;
ax.XAxisLocation = 'origin'
ax.YAxisLocation = 'origin'
ylim([0, max(y)])
For additional customization options, see the attached demo.
  ๋Œ“๊ธ€ ์ˆ˜: 1
Image Analyst
Image Analyst 2021๋…„ 10์›” 19์ผ
@Divyansh Harsh, reminder - you got two answers to your question. Please accept one or say why it's not working.

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Annotations์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์ œํ’ˆ


๋ฆด๋ฆฌ์Šค

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by