Can anyone help to write a code for plotting the following equation with time please?
Ältere Kommentare anzeigen
x = exp( (-B/omega) * cos(omega * t) ) ...
./ ( (B/A)*(integral(exp( (-B/omega)* cos(omega * t) ))))
Where
A= 1;
B= 10;
omega= 1;
x0 =0.1;
t = 0 :0.0001:1000;
3 Kommentare
Avan Al-Saffar
am 9 Feb. 2015
Roger Stafford
am 9 Feb. 2015
As it stands, the integral in your expression is an indefinite integral and therefore has an arbitrary constant of integration. You need to specify what that constant is in order to successfully plot x as a function of t.
Avan Al-Saffar
am 9 Feb. 2015
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
