Link discontinuities in fplot?

Im using fplot to plot these three functions. I don't want the discontiuities, I need them linked somehow.
Here is my code:
figure
hold on
fplot(V1,[0,0.25])
fplot(V2,[.25,9.25])
fplot(V3,[9.25,19])
title('Shear Force vs Wingspan Location');
ylabel('Shear Force (N)');
xlabel('Wingspan Location (m)');

回答 (1 件)

madhan ravi
madhan ravi 2019 年 5 月 12 日
編集済み: madhan ravi 2019 年 5 月 12 日

0 投票

The first endpoint is the next one’s starting point.

5 件のコメント

James Felix
James Felix 2019 年 5 月 12 日
I want a vertical line connecting them at each start/end point. Is there any easy way to do this with code? Or do I just have to add a line in the plot window?
Walter Roberson
Walter Roberson 2019 年 5 月 12 日
If the wingspan location is just right then can I deliberately cause the physics of the situation to be uncertain? Will the physics cycle through two ranges and in between or will the physics transition instantly between the two? Can this be leveraged into faster than light travel? Can it be leveraged into a generator for quantum cryptography?
I would suggest to you that the real physics has no jump and that either your equations are wrong or else that they are approximations that get inaccurate near the boundaries you set up, in which case the solution is to use equations that are more accurate.
James Felix
James Felix 2019 年 5 月 12 日
The jumps are caused by the load from a fuel tank from x=0.25 to 9.25. My equations could be wrong but as far as I know the the fuel load should cause this jump.
Walter Roberson
Walter Roberson 2019 年 5 月 12 日
Fuel tanks have edges that lead to differences in stress right near the edges.
Are you looking only at lift along wing position or are you also examining votricity, which can affect lift? Vortices are especially affected by edges...
James Felix
James Felix 2019 年 5 月 12 日
Basically used schrenk's approximation to estimate the lifting force as a function of x. Then I calculated the weight of the fuel as a function of x. Then just used 3 different cuts to find and plot the internal shear force of the wing. Just basic structures no vortices or anything.

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

カテゴリ

ヘルプ センター および File ExchangeChemistry についてさらに検索

質問済み:

2019 年 5 月 12 日

コメント済み:

2019 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by