看板 [ MATLAB ]
討論串[問題] 輸出檔案正負值
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者AYUREADY7 (Are You Ready?)時間17年前 (2008/10/27 13:56), 編輯資訊
0
0
0
內容預覽:
clear all; close all;. A = fopen('lat.txt','w');. t=1;. for a1 = 73:108;. lat(t) = (floor((a1-73)/2)*5)+2.5 ;. if mod(a1,2) == 0. lat(t) = -1*((floor(
(還有238個字)

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者ejialan (eji)時間17年前 (2008/10/27 13:54), 編輯資訊
0
0
0
內容預覽:
clear all; close all;. A = fopen('lat.txt','w');. a1 = 73:108;. lat = (floor((a1-73)/2)*5)+2.5 ;. ii=find(mod(a1,2)==0);. lat(ii)=-lat(ii);. fprintf(A

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者kvwish (楓葉)時間17年前 (2008/10/27 11:37), 編輯資訊
0
0
0
內容預覽:
這是我寫的式子. clear all; close all;. A = fopen('lat.txt','w');. a1 = 73:108;. lat = (floor((a1-73)/2)*5)+2.5 ;. if mod(a1,2) == 0. lat = (floor((a1-73)/2)*
(還有112個字)
首頁
上一頁
1
下一頁
尾頁