Symbolic plotting of Fourier integral

4 ビュー (過去 30 日間)
Shubham
Shubham 2021 年 1 月 30 日
コメント済み: Star Strider 2021 年 1 月 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

採用された回答

Star Strider
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.
  2 件のコメント
Shubham
Shubham 2021 年 1 月 30 日
Thanks a lot very helpful .
Star Strider
Star Strider 2021 年 1 月 30 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by