matlab画图题

Plot a graph of the two-sided cone, with vertex at the origin, and the z-axis as the axis of
symmetry. Write MATLAB function timercone(a, b), where the input parameters a and b are
the radius of the lower and upper base, respectively. Add a title to your graph and use
function shading with an argument of your choice. A sample output is shown below
timecone(1, 2)

第1个回答  2012-10-24
题中说了“A sample output is shown below”,你没把样图贴出,不确定你想要的确切效果。最简单的用一个语句就可以:
cylinder([1 2],30)
相似回答