Symbolic plotting of Fourier integral
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shubham
il 30 Gen 2021
Commentato: Star Strider
il 30 Gen 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/504473/IMG_20210130_212723.jpg)
I want to plot M/P×a v/s (x/a) there are no values PS - The given equation is of bending Moment for an infinite beam
0 Commenti
Risposta accettata
Star Strider
il 30 Gen 2021
If there are no values, then there is no plot, since plots require numbers.
If you have values, make the appropriate substitutions here:
P = 42; % Create Variable Value
a = 5; % Create Variable Value
M = @(x,P,a) P*a/pi*integral(@(alfa) alfa.*cos(alfa.*x./a) ./ (alfa.^3+1), 0, Inf, 'ArrayValued',1);
x = linspace(0, 100);
figure
plot(x/a, M(x,P,a)./(P*a))
grid
to get the result you want.
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!