Calculus Lab Assignment :1
Mahesh Vitthal Zopate
24BCE1017
Vellore Institute of Technology, Chennai
Introduction
The purpose of this project is to explore the use of the ezplot command in
MATLAB for plotting mathematical functions. MATLAB, a powerful tool for
mathematical computation, offers various plotting functions, with ezplot being
one of the simplest for visualizing mathematical expressions quickly and
efficiently.
Aim
To plot f(x) = sin(x2) in Matlab using “ ezplot “ command
Input
% Use ezplot to plot the function
figure;
ezplot('sin(x^2)', [-5, 5]);
title('Plot of f(x) = sin(x^2)');
xlabel('x');
ylabel('f(x)');
grid on;
Output