NBC News has fired a producer who was involved in the production of a misleading segment about the Trayvon Martin case in Florida.

The person was fired on Thursday, according to two people with direct knowledge of the disciplinary action who declined to be identified discussing internal company matters. They also declined to name the fired producer. A spokeswoman for NBC News declined to comment.

The action came in the wake of an internal investigation by NBC News into the production of the segment, which strung together audio clips in such a way that made George Zimmerman’s shooting of Mr. Martin sound racially motivated. Ever since the Feb. 26 shooting, there has been a continuing debate about whether race was a factor in the incident.

The segment in question was shown on the “Today” show on March 27. It included audio of Mr. Zimmerman saying, “This guy looks like he’s up to no good. He looks black.”

But Mr. Zimmerman’s comments had been taken grossly out of context by NBC. On the phone with a 911 dispatcher, he actually said of Mr. Martin, “This guy looks like he’s up to no good. Or he’s on drugs or something. It’s raining and he’s just walking around, looking about.” Then the dispatcher asked, “O.K., and this guy — is he white, black or Hispanic?” Only then did Mr. Zimmerman say, “He looks black.”

The editing of the segment was initially noticed by NewsBusters, an arm of the Media Research Center, a conservative media monitoring group. On March 31, NBC told The Washington Post that it would investigate.

Inside NBC, there was shock that the segment had been broadcast. Citing an anonymous network executive, Reuters reported that “the ‘Today’ show’s editorial control policies — which include a script editor, senior producer oversight and in most cases legal and standards department reviews of material to be broadcast — missed the selective editing of the call.”

On April 4, the network news division said in a statement that it deeply regretted the “error made in the production process.”

“We will be taking the necessary steps to prevent this from happening in the future and apologize to our viewers,” the network said.

It did not specify what steps it would take. But one day later it dismissed a Miami-based producer who had worked at NBC for several years.

The people with direct knowledge of the firing characterized the misleading edit as a mistake, not a purposeful act.