Plotting differential equations, need help

2 views (last 30 days)
y = diff(sin(2*pi*t))./diff(t);
Remember diff() shortens the length of your vector by one so you will need to define a new time vector to plot against. ---- how do i do this?
thank you

Accepted Answer

Yu Jiang
Yu Jiang on 6 Oct 2014

Sign in to comment.

More Answers (0)


Find more on Matrices and Arrays 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!

Translated by