Stator or rotor for an electrical machine including a plurality of segments - wherein each segment includes a segment body circumferentially extending about a rotational axis of the stator or the rotor between two circumferential ends, the segment body including: - a plurality of teeth (15, 16) protruding according to a radial direction orthogonal to the rotational axis, each tooth (15, 16) circumferentially extending between two respective side faces (25, 26), the plurality of teeth (15, 16) being circumferentially distributed between two end teeth of the plurality of teeth (15, 16), the plurality of teeth (15, 16) comprising at least one intermediate tooth circumferentially comprised between the end teeth, - a plurality of slots (17, 18), circumferentially interposed between the teeth (15, 16) of the stator, the plurality of slots (17, 18) being circumferentially distributed between two end slots, each end slot being circumferentially comprised between a respective end tooth and a respective circumferential end, the plurality of slots (17, 18) comprising a plurality of intermediate slots circumferentially comprised between the two end slots, - wherein each segment comprises a coil winding arranged in the segment body, the coil winding including at least two side coils respectively housed in the end slots, - wherein the plurality of segments are circumferentially joined together at two respective circumferential ends in such a way that a required segment tolerance circumferential gap is interposed between two circumferentially adjacent segments, characterized in that in order to reduce the torque and power harmonics induced by the addition of the required segment tolerance circumferential gap the side faces of the two end teeth are inclined with respect to each other and the side faces of each intermediate tooth are parallel to each other, - or the side faces of the two end teeth are parallel to each other and the side faces of each intermediate tooth are inclined with respect to each other. - wherein each segment includes a segment body circumferentially extending about a rotational axis of the stator or the rotor between two circumferential ends, the segment body including: - a plurality of teeth (15, 16) protruding according to a radial direction orthogonal to the rotational axis, each tooth (15, 16) circumferentially extending between two respective side faces (25, 26), the plurality of teeth (15, 16) being circumferentially distributed between two end teeth of the plurality of teeth (15, 16), the plurality of teeth (15, 16) comprising at least one intermediate tooth circumferentially comprised between the end teeth, - a plurality of slots (17, 18), circumferentially interposed between the teeth (15, 16) of the stator, the plurality of slots (17, 18) being circumferentially distributed between two end slots, each end slot being circumferentially comprised between a respective end tooth and a respective circumferential end, the plurality of slots (17, 18) comprising a plurality of intermediate slots circumferentially comprised between the two end slots, - wherein each segment comprises a coil winding arranged in the segment body, the coil winding including at least two side coils respectively housed in the end slots, - wherein the plurality of segments are circumferentially joined together at two respective circumferential ends in such a way that a required segment tolerance circumferential gap is interposed between two circumferentially adjacent segments, - a plurality of teeth (15, 16) protruding according to a radial direction orthogonal to the rotational axis, each tooth (15, 16) circumferentially extending between two respective side faces (25, 26), the plurality of teeth (15, 16) being circumferentially distributed between two end teeth of the plurality of teeth (15, 16), the plurality of teeth (15, 16) comprising at least one intermediate tooth circumferentially comprised between the end teeth, - a plurality of slots (17, 18), circumferentially interposed between the teeth (15, 16) of the stator, the plurality of slots (17, 18) being circumferentially distributed between two end slots, each end slot being circumferentially comprised between a respective end tooth and a respective circumferential end, the plurality of slots (17, 18) comprising a plurality of intermediate slots circumferentially comprised between the two end slots, - wherein each segment comprises a coil winding arranged in the segment body, the coil winding including at least two side coils respectively housed in the end slots, - wherein the plurality of segments are circumferentially joined together at two respective circumferential ends in such a way that a required segment tolerance circumferential gap is interposed between two circumferentially adjacent segments, - or the side faces of the two end teeth are parallel to each other and the side faces of each intermediate tooth are inclined with respect to each other.