12345
Instructions:
Write the code of the given problems in Script File and then copy the code on the LMS assignment module directly. Also copy the output of the program.
12345
1233Question:
Plot the following three sine curves on same figure. For the curve 1, use a linewidth of 2. For the curve 2, specify a dashed green line style with diamond markers. For the curve 3, specify a red, dash-dot line style with asterisk markers.
1.sin()x
2.sin()4xπ+
3.sin()
Solution:
clear all
close all
fplot(@(x)sin(x), 'linewidth', 2)
hold on
fplot(@(x)sin(x+pi/4), '--dg')
hold on
fplot(@(x)sin(x-pi/4), '-.*r')
12345
12345
Download MTH643 Assignment in Word (Enjoy!!!!)
Want more info, please press the below button
`
1 Comments
downlode option ni a raha
ReplyDeletePlease write us. Please write in detail that how may we help you