changing my x increment along fplot
显示 更早的评论
clear; clc; close all
syms x
y1 = 7*x^2 -8*x + 1;
Derivert_y1 = diff(y1);
figure(1)
fplot(x, Derivert_y1)
legend('y1 derivert')
xlabel('X-Verdier')
ylabel('Y-Verdier')
i want to change the increment from -5:1:5 to 0:0.002:2
采纳的回答
更多回答(1 个)
Ameer Hamza
2020-9-30
Pass interval as 3rd argument of fplot():
fplot(x, Derivert_y1, [0 2])
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!