Plotting figure with intp2
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a coding to plot a figure and this is my coding:
[Xq_cond,Yq_cond] = meshgrid(linspace(min(Mwgrid),max(Mwgrid),length(amaxgrid)),linspace(min(amaxgrid),max(amaxgrid),n)); %import
Vq_cond = interp2(Mwgrid, amaxgrid, PL,Xq_cond,Yq_cond,'cubic');
where
Mwgrid = linspace(4.75,8.25,8); %linspace(4.8,7.6,50);
amaxgrid = linspace(0.19,0.42,36);
grid = meshgrid(Mwgrid,amaxgrid);
I also attach the PL in the .txt format
Is there any one can help me to solve the problem of plotting using intp2?
I wish my plot has the same figure like in the attachment
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Line 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!