Symbolic plotting of Fourier integral
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

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 commentaires
Réponse acceptée
Star Strider
le 30 Jan 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!