Embodiments of the present application provide an antenna
assembly and an electronic device, aiming at solving the problem that the antenna
assembly exhibits poor
antenna efficiency due to a pronounced dip in an
antenna efficiency curve of the antenna
assembly. The antenna assembly comprises: a floating stub, wherein the floating stub has a first open end and a second open end which are arranged opposite to each other, a
feed point is further provided on the floating stub, and the
feed point is located between the first open end and the second open end; and a matching circuit coupled to the
feed point, wherein the matching circuit is configured to feed the feed point, so that the antenna assembly generates a first
resonance and a second
resonance, and the matching circuit comprises a first matching
capacitor, wherein one end of the first matching
capacitor is coupled to the feed point, and the other end of the first matching
capacitor is configured to be grounded. The floating stub is weakly grounded by means of the first matching capacitor, so that a dip in an
antenna efficiency curve is eliminated at the first
resonance and the second resonance, thereby improving the communication performance of the antenna assembly.