Hello, Martin!
Sed doesn't recognize fields inside input line, I think. But awk does.
For example, if you want to replace the contens of the third field in input line with its logarithm, you can use this awk command:
awk '{ $3 = log($3); print }' inputfile > outputfile
I hope this helps.
Bye!
KP.