From: th on
hi there.

I have a problem with my scipt with which i am trying to create a cornea topography simulation.

My data are, [THETA,RHO]=(0:pi/180:2*pi,0:0.1:4)( what i ve done is to take 40 wavefront measuremets per degree and for 360 degrees)

where THETA is the angle, and RHO is the radius.

Z is the curvature of the cornea.(constant number)

Next I create a meshgrid using theta and rho.

My problem is : should i convert pol2cart or leave it as it is?

What I want to do, is to create a circular surface (by using these data) that simulates the cornea topography.i ve tried surf but something goes wrong.

any ideas???

thanks in advance,

Best regards