X
Download Study Rankers App Get Now
0 votes
70 views
ago in Other by (-2,311 points)
How do you plot y = cos(pi/4)

Please log in or register to answer this question.

1 Answer

0 votes
ago by Premium (874 points)
Choose upper and lower limits of x as a and b. Choose the desired number of plot points as n.

x = linspace(a,b,n);
y = repmat(cos(pi/4),1,n);
plot(x,y,’y-‘)

Related questions

0 votes
1 answer
asked 3 days ago in Other by nikhilk25 (-2,311 points)
0 votes
1 answer
asked 3 days ago in Other by nikhilk25 (-2,311 points)
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer

Categories

...