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)');

Risposte (1)

madhan ravi
madhan ravi il 12 Mag 2019
Modificato: madhan ravi il 12 Mag 2019

0 voti

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

5 Commenti

James Felix
James Felix il 12 Mag 2019
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?
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 il 12 Mag 2019
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.
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 il 12 Mag 2019
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.

Accedi per commentare.

Categorie

Scopri di più su Chemistry in Centro assistenza e File Exchange

Richiesto:

il 12 Mag 2019

Commentato:

il 12 Mag 2019

Community Treasure Hunt

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

Start Hunting!

Translated by