Our gross profit was $596.6 million for the quarter ended September 28, 2018 compared to $524.0 million for the quarter ended September 29, 2017. Gross profit increased by $72.6 million or 14%, and is primarily due to an increase in gross profit in our Power Solutions Group and Analog Solutions Group.
Gross profit as a percentage of revenue increased to approximately 38.7% for the quarter ended September 28, 2018 from approximately 37.7% for the quarter ended September 29, 2017. The increase was primarily due to product mix.
Operating Expenses
Research and development expenses were $166.2 million for the quarter ended September 28, 2018 compared to $151.0 million for the quarter ended September 29, 2017, representing an increase of $15.2 million, or approximately 10%. This increase was primarily in the area of payroll and payroll related costs due to additional headcount as well as an increase in the cost of the materials utilized in research and development.
Selling and marketing expenses were $83.1 million for the quarter ended September 28, 2018, compared to $78.6 million for the quarter ended September 29, 2017, representing an increase of $4.5 million, or approximately 6%. There were no significant changes in any of the major expense categories.
General and administrative expenses were $73.3 million for the quarter ended September 28, 2018, compared to $68.9 million in the quarter ended September 29, 2017, representing an increase of $4.4 million, or approximately 6%. There were no significant changes in any of the major expense categories.
Other Operating Expenses
Amortization of Acquisition-Related Intangible Assets
Amortization of acquisition-related intangible assets was $28.0 million and $37.3 million for the quarters ended September 28, 2018 and September 29, 2017, respectively, representing a period-over-period decrease of $9.3 million, or approximately 25%. The decrease was primarily due to the additional amortization of $8.1 million of intangible assets during the quarter ended September 29, 2017, representing the value of the technologies transferred under a licensing transaction.
Restructuring, Asset Impairments and Other, Net
Restructuring, asset impairments and other, net was $4.4 million for the quarter ended September 28, 2018 compared to $9.7 million for the quarter ended September 29, 2017, representing a decrease of $5.3 million, or approximately 54.6%, which was attributable to the restructuring programs in effect during the respective quarters.
Goodwill and Intangible Asset Impairment
Goodwill and intangible assets impairment was zero for the quarter ended September 28, 2018 compared to $1.5 million for the quarter ended September 29, 2017. During the quarter ended September 29, 2017, we abandoned certain of our previously capitalized IPRD projects and recorded impairment charges of $1.5 million.
Interest Expense
Interest expense decreased by $3.7 million to $31.2 million during the quarter ended September 28, 2018 compared to $34.9 million during the quarter ended September 29, 2017 primarily due to repayments of outstanding balances offset by a marginal increase in interest rates. Our average gross long-term debt balance (including current maturities) for the quarter ended September 28, 2018 was $2,932.1 million at a weighted-average interest rate of approximately 4.3%, compared to $3,299.2 million at a weighted-average interest rate of approximately 4.2% for the quarter ended September 29, 2017.
44