Both linear and switching regulators have their own advantages and disadvantages as shown below.
|Linear regulators||Switching regulators|
|Input-output voltage differential||Small*1||Large|
|Output voltage ripple||Small||Large|
|Noise (e.g., EMI)||Small||Large|
*1 LDO regulators have a small input-output voltage differential, depending on usage conditions.
*2 The amount of heat generated by LDO regulators might be small, depending on usage conditions.