Edinburgh, because in Aberdeen, you'll come away smelling of fish. Plus do you want to spend all your time taking photos of fishing boats?! ;-)
Then again, Edinburgh isn't the catch that it used to be either. I'm Edinburgh born and bred and I'm shocked at how much it has changed over the years. I'm now living in Germany but everytime I go back to Edinburgh to visit my mammy and pappy, it seems that the place has changed just a little bit more for the worst.
The main shopping street is now being invaded by tourist shops and I'm not talking about quaint little tea rooms where you can sip a cup of tea and eat a piece of shortbread. I'm talking about huge tacky shops where some guy from Texas is walking out in full kilt gear and ginger wigs calling himself Sir Billy-Bob MacDonald McGregor of the Bubba Clan (having bought himself a clan certificate for $5 and convinced himself that he really has bought himself a castle in the Highlands).
These shops are also screaming bagpipe music which can be heard for miles around and whats more, the people that work in these shops are NOT Scottish! You walk in looking for service and the guy behind the counter says "sorry, my English isn't so good, could you speak more slowly please?"
William Wallace, where are you? We need you man. We've been invaded.
My suggestion would be to study at Edinburgh and live OUTSIDE Edinburgh. Why not Stirling? You will find some beautiful countryside out there. The REAL Scotland. Obviously there will be tourists too but not as bad as Edinburgh. Stirling is wonderful. Falkirk too.