what is the problem
Mostra commenti meno recenti
x=0:0.1:6;
fx=exp(x)*sin^2*(x);
plot(x,fx,'linewidth', 1.5)
xlabel('x','fontweight','bold','Fontsize',15)
ylabel('fx','fontweight','bold','Fontsize',15)
set(gca,'fontsize',15)
set(gcf,'color','w')
title('fx vs x')
axis square
Risposta accettata
Più risposte (2)
Alan Stevens
il 7 Apr 2021
You need to replace fx by
fx=exp(x).*sin(x).^2;
naddin Jr. Julius Peter
il 22 Apr 2021
0 voti
x=0:0.1:6;
fx=exp(x)*sin^2*(x);
plot(x,fx,'linewidth', 1.5)
xlabel('x','fontweight','bold','Fontsize',15)
ylabel('fx','fontweight','bold','Fontsize',15)
set(gca,'fontsize',15)
set(gcf,'color','w')
title('fx vs x')
axis square
Categorie
Scopri di più su Image Arithmetic in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!