How Vehicle to grid in buck and grid to vehicle in boost operation wih dc grid side inductors interleaved,in the below Ckt? In Matlab, how do you resize a grid to a smaller grid with averaging included?