Akzeptierte Antwort

madhan ravi
madhan ravi am 29 Jan. 2019
doc meshgrid
doc mesh

6 Kommentare

I tried, but I'm not getting the graph.
P.S. I'm an novice, could you please elaborateCapture.JPG
Upload your data as .txt file or .mat file instead of posting pictures.
x=[5.51E+03,2.30E+04,3.15E+04,6.24E+04,7.58E+04,1.42E+05,2.04E+05,2.65E+05]
y=[2.34E+02,1.48E+02,1.09E+02,7.64E+01,5.39E+01,4.39E+01,3.43E+01,3.31E+01]
z=[35.99545455,49.40454545,53.38181818,48.29545455,51.16590909,48.43863636,34.29090909,47.72727273]
[X,Y,Z]=meshgrid(x,y,z);
mesh(X,Y,Z)
Resistance (CC)
4.81E+03
1.76E+04
2.79E+04
5.90E+04
1.04E+05
1.30E+05
1.49E+05
3.67E+05
Coulombic efficieny
2.34E+02
1.48E+02
1.09E+02
7.64E+01
5.39E+01
4.39E+01
3.43E+01
3.31E+01
Voltage Efficiency
35.99545455
49.40454545
53.38181818
48.29545455
51.16590909
48.43863636
34.29090909
47.72727273
[X,Y]=meshgrid(x,y);
mesh(X,Y,repmat(z,size(X,1),1))
Thanks!, this seems to work

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by