is my code right ?

i have done the folow :
x=linspace(-2*pi,2*pi,40);
y=pi*sin(x);
plot(x,y);
title('scapegoat')
xlabel('X')
ylabel('Y')

Answers (1)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Release

R2021a

Tags

Asked:

on 7 May 2021

Answered:

on 8 May 2021

Community Treasure Hunt

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

Start Hunting!