Electric field generated by a finite plate

Sometime ago I needed to compute the electric field which is produced by a finite plate. I did not really use it in the end because it was too simplified for what I wanted to do. Since the calculation is not so straightforward, I took the time to write it down properly, just in case I need it again one day. It might be useful for someone else...

Electric field from a finite charged plate