필터 지우기
필터 지우기

How to plot 3D surface plot for given x and y data? what is code for z?

조회 수: 1 (최근 30일)
Isha Deshpande
Isha Deshpande 2013년 4월 29일
{x = [1,2,3,77,5]; y = [22,13,2,4,5]; z = peaks(y); surf(x,y,z);}
In above code x stands for frequency and y stands for voltage, here I required 3 D surface plot representation where highest value of y axis forms peak at certain height represented by z axis. Hence, what is the correct code for z axis so that I will get surface representation of 2 D xy plot?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by