Numerical Differentiation HW Help

2 次查看(过去 30 天)
Hey Everybody,
I usually do okay with my MATLAB homework and lab assignments but this one is stumping me. I waited to long to start it as I've been loaded with other course work but I am hoping someone can help me out. I'll post the assignment so others can view it here. I started typing out the equations for part A but I don't know how to find delta t (especially in part B). Also how would I write the position summation in part A in MATLAB? In general I just don't even know how to attempt this assignment, maybe I'm overthinking it? If someone could show me an example or point me in the right direction with a visual it would be so helpful. I don't want you to do my work for me, I just need to see a visual of what is happening here.
Thank You So much!

回答(1 个)

Image Analyst
Image Analyst 2016-2-26
I'd use the hour, minute, and second to convert each time to seconds past midnight. Then, since it promises that the delta t is the same between any consecutive elements, you can just compare the seconds from element 2 back to element 1. For example
secsToday = 3600*hours(1) + 60 * minutes(1) + seconds(1);
Do for (2) and then subtract to get the delta t in seconds.
If hours is not a 24 hour clock, then you'll have to take that into account. For example t1 = 12:59:30 p.m. and t2 = 1:00:30 p.m. Perhaps you can just scan the data until you find times where t2's hours are definitely more than t1's hours. Or else just add 12 to t2's hours.

类别

Help CenterFile Exchange 中查找有关 Matched Filter and Ambiguity Function 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by