Does it really do what you think it is doing? Many beginners come here to ask for help because they only think about what they want their code to be doing, but never bother to actually check what their code really is doing. Imagine that every script and function you write is going to be given to someone else.Do not use eval to do this, it is not the correct tool for the job! Use subs to substitute values into a symbolic expression and evaluate it.dates, times, indices, test parameters, etc) into variable names or fieldnames: meta-data is data, so store it as data in an array. Do not assume that the current figure/axes/etc is going to be the one that your code needs to access. This makes plotting and handling graphics robust and predictable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |