iLMS知識社群(Sites)師生部落格(Blogs)朝陽首頁(Homepage)TronClass教學平台Login
Position: 曹晉翊 > Latest Articles
by 曹晉翊 2017-12-21 10:28:33, Reply(0), Views(122)
clc;clear;A={'項目','數量','單價','金額';     '桌子',30,10000,0;     '椅子',120,500,0} ;A{2,4}(1,1)=A{2,2}(1,1).*A{2,3}(1,1);A{3,4}(1,1)=A{3,2}(1,
(Read All...)
by 曹晉翊 2017-12-20 16:33:46, Reply(0), Views(160)
by 曹晉翊 2017-12-20 14:21:05, Reply(0), Views(157)

(Read All...)
by 曹晉翊 2017-12-19 00:37:42, Reply(0), Views(186)

(Read All...)
by 曹晉翊 2017-11-23 10:46:33, Reply(0), Views(187)
function b=Test1(a)i=0;k=0;for j=1:length(a)if a(j)>=60    i=i+1;endif a(j)<60    k=k+1;endendfprintf('及格:%g\n',i);fprintf('不及格:%g\n',k);hist(a,100);xlabel('
(Read All...)
by 曹晉翊 2017-11-16 21:31:48, Reply(0), Views(207)

(Read All...)
by 曹晉翊 2017-11-16 10:16:29, Reply(0), Views(227)
clc;clear;n=input('請輸入一個數字');fprintf('奇數');for i=1:n    if mod(i,2)==1        fprintf('%g ',i);    endendfprintf('\n');fprintf('偶
(Read All...)
by 曹晉翊 2017-11-14 21:38:50, Reply(0), Views(224)
#include <OneWire.h>#include <DallasTemperature.h>#include <SoftwareSerial.h>// 讀取光敏電阻讀值並列印到 Serial Portint photocellPin = 2; // 光敏電阻 (photocell) 接
(Read All...)
by 曹晉翊 2017-11-09 10:49:42, Reply(0), Views(229)
clc;clear;sum=0;for i=1:100    sum=sum+i;      if(sum>=100&&sum<=400)        fprintf('%d ',sum);         
(Read All...)
by 曹晉翊 2017-11-08 21:14:47, Reply(0), Views(141)
Prev1234567Next