Hello everyone. I am currently taking a Matlab course a requirement for my major, but unfortunately the teacher quite frankly sucks at teaching. I have failed this class once already and would like to avoid that this time. So here is the scenarion I need help with.
I have a text file file in which variable have been put into a single row. The first part wants me to take these and but the variables into vectors based on what they are a variable. The vectors are in order (Theta, velocity, height, volume) and repeat. Wha t I need help with is getting those seperated into their respective vectors. One other issue I am having is another part where i have to read them into a matrix, which I have done. THe problem now is that I do not know how to plug these variables into the equation ins such a way it uses all of them and forms a coresponding vector for the function's answer. Any help would be appreciated.
I have a text file file in which variable have been put into a single row. The first part wants me to take these and but the variables into vectors based on what they are a variable. The vectors are in order (Theta, velocity, height, volume) and repeat. Wha t I need help with is getting those seperated into their respective vectors. One other issue I am having is another part where i have to read them into a matrix, which I have done. THe problem now is that I do not know how to plug these variables into the equation ins such a way it uses all of them and forms a coresponding vector for the function's answer. Any help would be appreciated.