matlab excel
請問各位要怎麼把matlab裡的數值匯入excel? 我想把它繪成圖表
:@L
matlab excel
l1=10;l2=4;
fprintf(' e e2 Ax Ay \n')
fprintf(' -------------------- --------- ----------\n')
for i = 1:10
e=120+i*2;
e2=30+i*4;
Ax = l1*cosd(e)-l2*cosd(e2);
Ay = l1*sind(e)+l2*sind(e2);
fprintf('%11.f %11.f %12.3f %12.3f \n',e,e2, Ax, Ay)
页:
[1]