How to plot function in matlab or maple for example {(F/M)/(k-c)^2+ω^2}*{exp(-kt) – exp(-ct)*[cosωt-{(k-c)/(ω)

in above f is force and constant and m is mass and k,c is constant.just tell me how to plot this function.

1 Answer

  • Ivan D
    Lv 5
    1 decade ago
    Favorite Answer

    t = t_start:h:t_end;

    y = {(F/M)/(k-c)^2+ω^2}*{exp(-k*.t) – exp(-c*t)*[cosω*.t-{(k-c)/(ω) ;


    (t_start, t_end) is the interval of time on which you want to plot the function

    h is the time step eg. h= 1 second or h = 0.1 second

    • Login to reply the answers
Still have questions? Get your answers by asking now.