Graphing specific function over time

How can I graph the function da=0.5+0.425*sin((2*pi*60)*t) and vary t from 0 to 10 seconds?

 Accepted Answer

t = linspace(0,10,100);
da = 0.5+0.425*sin(2*pi*60*t);
plot(t,da)

More Answers (1)

da = @(t)0.5+0.425*sin((2*pi*60)*t);
fplot(da, [0 10])

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Networks in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!