Write a MATLAB script that uses the subplot command (two rows, one column) which shows the plots of the functions y = e-
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a MATLAB script that uses the subplot command (two rows, one column) which shows the plots of the functions y = e-
Write a MATLAB script that uses the subplot command (two rows,one column) which shows the plots of the functions y =e-1.25xsin(5x + 2) for 0 ≤ x ≤ 5 on the left (Use semilogy) and onthe right it plots y1 = |xa3 - 100| for -6.4 ≤ xa ≤ 6.4 Use delta xequal to 0.04 for both x and xa vector variables. Add labels toeach axes to each of the plots. On this problem you don’t have touse for loops