(1) layer = imageInputLayer([28 28 1],Normalization="none")
輸入影像維度 28 * 28 * 1 灰階影像
(2) layer = convolution2dLayer(filterSize, numFilters)
(3)layer = batchNormalizationLayer() creates a batch normalization layer.
This type of layer normalizes each channel across a mini-batch.
This can be useful in reducing sensitivity to variations within the data.
(4) layer = reluLayer(Name="relu_1")
Rectified linear unit (ReLU) layer
(5) layer = additionLayer(numInputs)
creates an addition layer with the
number of inputs specified by numInputs. This layer takes multiple
inputs and adds them element-wise
(6) layer = fullyConnectedLayer(outputSize)
creates a fully connected layer.
outputSize specifies the size of the output for the layer.
A fully connected layer will multiply the input by a matrix and then add
a bias vector.
(7) layer = softmaxLayer()
creates a softmax layer.
This layer is useful for classification problems.
me1237guy 發表在 痞客邦 留言(0) 人氣(9)
me1237guy 發表在 痞客邦 留言(0) 人氣(14)
宽度学习系统(Broad Learning System, BLS)
load abalone; %for this data set NumFea= 6 NumWin=5 NumEnhan=41;
me1237guy 發表在 痞客邦 留言(0) 人氣(2)
1. Import OpenStreetMap Data into Driving Scenario
me1237guy 發表在 痞客邦 留言(0) 人氣(11)
1. In order to send mail from the GMail server, the first step is that you have to decrease the security level of your Gmail settings, enable it by clicking here
2. You can run the following snip code directly or save them as a script file and run it
me1237guy 發表在 痞客邦 留言(0) 人氣(15)
1. Ryze Tello Drone Support from MATLAB
2. Parrot Minidrone Support from Simulink
3. PX4 Autopilots Support from Embedded Coder
me1237guy 發表在 痞客邦 留言(0) 人氣(17)
https://www.facebook.com/MATLAB/videos/372170376698253/
me1237guy 發表在 痞客邦 留言(0) 人氣(17)
今天試著編譯一個m檔案, 不過特別的地方是有用到jar檔案利用javaaddpath是無法讓compiler後的執行檔案找到對應jar檔案 1. 必須將jar放到 rootOfMATLAB\java\jar, 然後再進行編譯mcc –m 這樣編譯後才會找得到, 蝦~2. 經過一番努力google到[1], 原來MongoClient第二個參數有轉型@@
private static DB conectar() { MongoClient mongoClient = null;
MongoCredential mongoCredential = MongoCredential
.createMongoCRCredential("trivialuser", "trivial", "4btrivialmongouser".toCharArray());
try { mongoClient = new MongoClient(new ServerAddress(
"ds062797.mongolab.com", 62797),
Arrays.asList(mongoCredential));
} catch (UnknownHostException e) { e.printStackTrace();
}
DB db = mongoClient.getDB("trivial"); System.out.println("Conexion creada con la base de datos"); return db;
}
me1237guy 發表在 痞客邦 留言(0) 人氣(41)
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)), ')']);me1237guy 發表在 痞客邦 留言(2) 人氣(1,652)

以前讀取avi檔案, 如果用內建aviread指令常常會發生無法讀取的窘境, 後來File Exchange有提供mmread指令, 可以避免這個狀況 網路上也有一些獨門秘計可以讓MATLAB可以讀影片, 例如透過ffmpeg轉檔等方法… 不過今天要講的是, 從MATLAB 2012 開始, Mathworks提供videoreader給使用者來讀取每個影格資訊,
me1237guy 發表在 痞客邦 留言(0) 人氣(5,528)