Screenshot to code:

code:
fplot(@(x) sin(x),[-12.56 12.56],'b')
grid on;
legend('sin');
title('sin curve');
xlabel('angle');
ylabel('sin(x)');
* please upvote if this answer was helpful.
write the program in which you a generate sine function in (4pi -4pi) interval in matlab