plotting derivative function against Y value

2 Ansichten (letzte 30 Tage)
Gavin Seddon
Gavin Seddon am 2 Aug. 2018
Beantwortet: KSSV am 2 Aug. 2018
hello I have a distance/time graph and I want to plot the velocity against distance. I have created the velocity function v:eval v
v =
(36003*cos((33*x)/20 - 383/200))/1000 + (234601*cos((619*x)/500 + 659/500))/6250 + (8542857*cos((3247*x)/1000 + 9293/10000))/1000000 will someone please instruct me how to plot this between a distance of 0 and 500000? GS

Akzeptierte Antwort

KSSV
KSSV am 2 Aug. 2018
v = @(x) (36003*cos((33*x)/20 - 383/200))/1000 + (234601*cos((619*x)/500 + 659/500))/6250 +.......
(8542857*cos((3247*x)/1000 + 9293/10000))/1000000 ;
x = 0:500000 ;
plot(x,v(x)) ;

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by