Relative to "warped" disks that cause a pulsating brake pedal:
Most commonly the pulsating or shaking brake is caused by an uneven "transfer layer" of brake pad material on the rotor friction surface and not warping of the rotor. The process of establishing a consistent transfer layer of brake pad material onto the rotor is called "bedding-in" the brake pads. Also called "burnishing" the brakes. Resurfacing the rotor does correct the uneven transfer layer by removing it entirely, but resurfacing is not necessary if the rotor is not warped.
Modern brake pads are designed to work most effectively when a portion of the pad material melts and adheres to the brake rotor. When new pads and new rotors are installed, that should be followed by a process of heating the rotors to the point where the brake pad surface is melted and some of it is evenly spread over the rotor surface. Once this is done, then the friction is caused not by friction between the rotor and the pad, but between the transfer layer and the pad. Brake experts say that when this is done properly, the brakes work much better and also last longer.
The first time I heard about this, I thought it was a nutty proposition. I did my homework, searching the web, and found ample support for it. A while later the brakes in my old Jeep began to develop the pulsating. I figured I had nothing to lose because it was bad enough to where I would normally do a brake job, so I'd give it a go. So I ran through the bed-in procedure to hopefully even out the transfer layer. I ran the start-stop cycles until I saw smoke coming up from the front brakes. (One youtube video I saw has a camera mounted on the side of the car watching the brakes and it actually shows flames coming out of the brakes during the last few stops.) In the past, this would have been alarming to me, but after learning about bedding-in brakes, it was what I was looking for. After that, my Jeeps brakes were perfectly smooth once again as if I had just done a brake job.
Here's one link that describes this process:
How to Bed-in Brake Pads - The Best Technique for Bedding in Brake Pads
There's ample info on the web about this topic, so I don't need to belabor the point.