How to plot a transient response using scatter interpolant?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I've used the following code to plot a 2D surface plot of the steady state pressure distribution on a square surface.
figure;
yi=0:5:175;
zi=0:5:440;
[Yi,Zi]=meshgrid(yi,zi);
P=scatteredInterpolant(y1335_complete,z,Cp_rear_complete, 'natural', 'linear');
Pi=P(Yi,Zi);
pcolor(Yi,Zi,Pi)
shading interp
colorbar Eastoutside
caxis([-0.3, 0.1])
hold on
plot(y1335_complete,z,'.k')
title ('Rear of the Train')
Now that I have instantaneous pressure distribution at every 0.002 of a second. How do I do a transient plot where the 2D contour will change according to time?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!