Originally Posted by

**deragon999** Hey all,

Ive given this my best shot, but still not getting anywhere.

Heres my problem:

need to write a matlab script to solve the following equation:

a=b/c, for each interval of time given in another matlab function file.

in the previous equation b=8*4*(g2-g1).

The function file that gives the time values(in a vector) also gives the values of c for each time value(in a second vector), and the values of g1 and g2 in a third matrix(ie in the format [g1(1), g2(1); g1(2), g2(2); g1(3), g2(3)....]

how can this be done as simply as possible? Im pretty sure its possible to use dats as in a=b./c to evaluate the matricies.

Thanks for any help, feel free to post on any issues in clarification