MATLAB: Rotation of a set of 3D points about a point

3d plotsMATLABrotation

Is there a matlab syntax to rotate a set of points for a given angle about one of the points? Example: three points [30 40 50] [25 38 50] [35 20 50] angle:30 degrees so if i want to rotate the first two points with respect to the third point, can anyone please tell me how?