目前分類:MATLAB (13)
- May 14 Tue 2024 10:07
各種常見隱藏層Deep Learning Neural Network
- Jun 04 Sat 2022 10:47
BLS-Regression_MATLAB
- Mar 04 Fri 2022 11:48
Import OpenStreetMap Data into Driving Scenario
- Feb 24 Thu 2022 08:48
How to Send E-mail in MATLAB with a Gmail account?
- Oct 07 Thu 2021 10:53
Camera Drones Supported from MATLAB
- Jul 18 Thu 2019 23:29
4 Steps of the Deep Learning Workflow
- Sep 23 Fri 2016 16:48
MATLAB編譯器找不到Jar檔案
今天試著編譯一個m檔案, 不過特別的地方是有用到jar檔案
- Apr 01 Wed 2015 14:24
MATLAB 不斷抓取滑鼠座標
set (gcf, 'WindowButtonMotionFcn', @mouseMove);
其中moveMove為Callback function name
1: function mouseMove (object, eventdata)
2: C = floor( get(gca, 'CurrentPoint'));
3: title(gca, ['(X,Y) = (', num2str(C(1,1)), ', ',num2str(C(1,2)), ')']);
- Mar 23 Mon 2015 10:44
MATLAB 讀取影片VideoReader class
以前讀取avi檔案, 如果用內建aviread指令常常會發生無法讀取的窘境,
- Mar 07 Sat 2015 10:54
MATLAB 2015a Image Processing Toolbox筆記
> imageBatchProcessor
這個是2015a版本才有的影像批次處理工具 (Image Batch Processor)
應用如MRI影像資料, 適合批次處理多張影像(image sequence)來源, 可以省去相關UI開發瑣事
- Feb 20 Fri 2015 07:04
用MATLAB實作convolutional neural network(CNN)
- Feb 11 Tue 2014 17:22
MATLAB自動偵測RS232 COM PORT
1: function lCOM_Port = getAvailableComPort()
2: % function lCOM_Port = getAvailableComPort()
3: % Return a Cell Array of COM port names available on your computer
4:
5: try
6: s=serial('IMPOSSIBLE_NAME_ON_PORT');fopen(s);
7: catch
8: lErrMsg = lasterr;
9: end
10:
11: %Start of the COM available port
12: lIndex1 = findstr(lErrMsg,'COM');
13: %End of COM available port
14: lIndex2 = findstr(lErrMsg,'Use')-3;
15:
16: lComStr = lErrMsg(lIndex1:lIndex2);
17:
18: %Parse the resulting string
19: lIndexDot = findstr(lComStr,',');
20:
21: % If no Port are available
22: if isempty(lIndex1)
23: lCOM_Port{1}='';
24: return;
25: end
26:
27: % If only one Port is available
28: if isempty(lIndexDot)
29: lCOM_Port{1}=lComStr;
30: return;
31: end
32:
33: lCOM_Port{1} = lComStr(1:lIndexDot(1)-1);
34:
35: for i=1:numel(lIndexDot)+1
36: % First One
37: if (i==1)
38: lCOM_Port{1,1} = lComStr(1:lIndexDot(i)-1);
39: % Last One
40: elseif (i==numel(lIndexDot)+1)
41: lCOM_Port{i,1} = lComStr(lIndexDot(i-1)+2:end);
42: % Others
43: else
44: lCOM_Port{i,1} = lComStr(lIndexDot(i-1)+2:lIndexDot(i)-1);
45: end
46: end