Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

need some serious help

  • 19-11-2013 12:42pm
    #1
    Registered Users, Registered Users 2 Posts: 32


    We have to do up matlab code for a project and was wondering if anyone did it last year and could help us out a bit. We can do most of it but just the strange looking differentiation is catching us out! Here's the 'brief' I suppose:

    'Write a matlab .m file that will load data.mat into the workspace and when run will calculate the local heat transfer coefficient at each location for each of the 61 measurements. The file will display each result as it runs through each measurement and will also display a graph of mean heat transfer coefficient Vs result number (1-61). All graphs should be title correctly and the titles should remain as the program run through each measurement and example of which is given below. Marks will be given for accuracy, efficiency and presentation. '

    Any hints or clues would be greatly appreciated!


Comments

  • Registered Users, Registered Users 2 Posts: 1,652 ✭✭✭Chimaera


    It'd help greatly if you posted what you've done so far, and where you're running into trouble. No-one's going to do your assignment for you from start to finish to see where any problem might lie so you need to provide the info here.

    Have you asked your TA/lecturer about the problem you're having? That's why they're there. If they have declined to help, chances are the problem you're running into is one you need to solve on your own.

    Remember, Matlab can't do symbolic manipulation: it's little more than a fancy calculator. You need to do the legwork in establishing the relationship between your input data and the heat transfer coefficient. Once you have this, everything else you need is in the language reference manual: you just have to use your brain here and do the legwork.

    Your program needs to load in the data file, parse it (probably into a matrix) and then perform the manipulations. The brief specifies doing this line by line, which is horribly inefficient, given Matlab's ability to process matrices. I'd raise this with the lecturer and see if they're ok with you doing the full set of results as one calculation.


Advertisement