A model for optical and electrical polarization fatigue in srbi2ta2o9 and Pb(Zr,Ti)o3