Prev: The new dload() function in 7.10
Next: gradient
From: Peter Kang on 5 Mar 2010 03:02 I have a line, t=(0:30:30); % Defines t from 0 to 30 with interval of 30 x=-0.28*t.^2+6.5*t+61; % Creates array x y=0.18*t.^2-8.5*t+65; % Creates array y plot (x,y,'y') % Plots the two equations defined above , and I need to find the angle from that line to the x axis. I can do this mathmatically on paper, but I don't know how to do this on matlab. I've been trying everything to find the angle, how do I go about solving this?
From: Rune Allnor on 5 Mar 2010 04:18 On 5 Mar, 09:02, "Peter Kang" <proper...(a)yahoo.com> wrote: > I have a line, > > t=(0:30:30); % Defines t from 0 to 30 with interval of 30 > x=-0.28*t.^2+6.5*t+61; % Creates array x > y=0.18*t.^2-8.5*t+65; % Creates array y > plot (x,y,'y') % Plots the two equations defined above > > , and I need to find the angle from that line to the x axis. I can do this mathmatically on paper, but I don't know how to do this on matlab. I've been trying everything to find the angle, how do I go about solving this? How would you do this with pen and paper? Rune
|
Pages: 1 Prev: The new dload() function in 7.10 Next: gradient |