Feeds
提问
The trajectory of the ball
tfinal=1; h=1.5; v0=4; a=pi/4; t=linspace(0,tfinal); g=9.8; x=v0*cos(a)*t; y=h+v0*sin(a)*t-(1/2)*g*t.^2; ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Need help with triangular wave
figure(1) t=-5:0.5:5; xcos=cos(pi*2*t); xpsqw=xcos>0; plot(t,xpsqw); xlabel('Timp(s)'); ylabel('Amplitudine'...
8 years 前 | 0 个回答 | 0
0
个回答提问
What is wrong?
function [sum,prod] = ex_1(r) n=7; sum=0; prod=1; for i=1:n sum=sum+r(i); prod=prod*r(i); end ...
8 years 前 | 0 个回答 | 0