Symbolic plotting of Fourier integral

15 visualizaciones (últimos 30 días)
Shubham
Shubham el 30 de En. de 2021
Comentada: Star Strider el 30 de En. de 2021
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

Respuesta aceptada

Star Strider
Star Strider el 30 de En. de 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 comentarios
Shubham
Shubham el 30 de En. de 2021
Thanks a lot very helpful .
Star Strider
Star Strider el 30 de En. de 2021
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by