Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Help on engineering homework
Replies: 9   Last Post: Dec 11, 2010 9:34 PM

 Messages: [ Previous | Next ]
 Ethan Robinson Posts: 5 Registered: 12/10/10
Re: Help on engineering homework
Posted: Dec 11, 2010 9:16 PM

"Rick Rosson" <rrosson@mathworks.com> wrote in message <idu3k9\$1l4\$1@fred.mathworks.com>...
> I agree with the general approach suggested by "ImageAnalyst", but I would
> recommend one improvement: you will probably need to use a time increment
> that is small than 1 (assuming that the unit of measure for time is
> 'seconds'). I would try something like this:
>
> startTime = 0; % seconds
> stopTime = 20; % or whatever makes sense
> dt = 0.01; % try different values here, not sure what
> makes sense
>
> t = startTime:dt:StopTime; % seconds
>
> Then compute h(t) and v(t) using the dot operators as suggested.
>
> h = ...
> v = ...
>
> Then plot both h and v versus t on two separate axes.
>
> Then use relational operators to find solutions to the questions asked.
>
> HTH.
>
> Rick
>
>
>
> "ImageAnalyst" <imageanalyst@mailinator.com> wrote in message

> > Make t a vector, like t = 1:100, then in your formulas use dot slash
> > (./), dot star (.*), and dot caret (.^) instead. Get your h and v.
> > Then use the plot function to plot them.
> >
> > Relational and logical operators are described in the help. Look up
> > logical indexing also - you'll need that here, and to get anywhere in
> > MATLAB in the future.

Ah, that make sense, thank you so much.
Thank you everyone for the help, I really appreciate it!
-Ethan

Date Subject Author
12/10/10 Ethan Robinson
12/10/10 Sean
12/10/10 Ethan Robinson
12/10/10 Paulo
12/10/10 Andy C.
12/10/10 Ethan Robinson
12/10/10 ImageAnalyst
12/10/10 Rick Rosson
12/11/10 Ethan Robinson
12/11/10 Raymond