Implement these expressions in OCTAVE and plot on the same figure, the two functions: f=3t2 +2t-0.5 , g=2t cos(t) where the variable t varies from 0 to 10 with step 0.5.
1 view (last 30 days)
Show older comments
Implement these expressions in OCTAVE and plot on the same figure, the two functions: f=3t2 +2t-0.5 g=2t cos(t) where the variable t varies from 0 to 10 with step 0.5. • Draw the function f in blue 0 and the function g in red * • Give title to your graph as your registration number and your name and label the axes
1 Comment
KALYAN ACHARJYA
on 6 Nov 2022
Edited: KALYAN ACHARJYA
on 6 Nov 2022
Home Work Question: Skill up the MATLAB Fundamentals here
Answers (1)
Sam Chak
on 6 Nov 2022
I typed exactly the same equations as you knowingly put on the description. But it gives error.
Please check if the equations are correct.
f = 3t2 + 2t - 0.5;
g = 2t cos(t);
plot(t, f, t, g)
0 Comments
See Also
Categories
Find more on Octave in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!