Symbolic plotting of Fourier integral
조회 수: 27 (최근 30일)
이전 댓글 표시
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
채택된 답변
Star Strider
2021년 1월 30일
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.
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!