Feeds
질문
Starting and executing code in parallel is slower than expected
I installed MATLAB 2016a on three systems with different hard- and software and would like to use the Parallel Computing Toolbox...
7년 초과 전 | 답변 수: 0 | 1
0
답변답변 있음
How to find locations of multiple values within a matrix.
The function _ismember_ is what you are looking for. x=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; y...
How to find locations of multiple values within a matrix.
The function _ismember_ is what you are looking for. x=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; y...
대략 9년 전 | 6
| 수락됨
답변 있음
Stopping the neural network by tr.gradient
Maybe you are looking for the property “trainParam.min_grad”. net = fitnet(10); net.trainParam.min_grad % default 1e-7 n...
Stopping the neural network by tr.gradient
Maybe you are looking for the property “trainParam.min_grad”. net = fitnet(10); net.trainParam.min_grad % default 1e-7 n...
거의 10년 전 | 2
| 수락됨
답변 있음
how to compare the class of input and output,and display the misclassification,how much percentage it is classified properly
To just get the accuracy it is only required to count the number of matches and divide by the total number of observations: ...
how to compare the class of input and output,and display the misclassification,how much percentage it is classified properly
To just get the accuracy it is only required to count the number of matches and divide by the total number of observations: ...
10년 초과 전 | 0
답변 있음
Simple question regarding plot
Given_data = rand(10,1); Obtained_data = rand(10,1); plot(zeros(size(Given_data)),Given_data,'r+'); hold on xlabel...
Simple question regarding plot
Given_data = rand(10,1); Obtained_data = rand(10,1); plot(zeros(size(Given_data)),Given_data,'r+'); hold on xlabel...
10년 초과 전 | 0
| 수락됨
답변 있음
how compute color std fast
The std function can operate on any dimension. For details see the help of 'std'. newimg = std(imd,0,3); It might be fas...
how compute color std fast
The std function can operate on any dimension. For details see the help of 'std'. newimg = std(imd,0,3); It might be fas...
10년 초과 전 | 1
답변 있음
How to train a Neural Network with an input data set that comprises of numeric values as well as nominal variables (such as the base fluid used which could be either 'Water', 'Oil' or 'Slickwater')?
Try to code your nominal variables as dummy binary variables, then input that into your neural network. nomvar = nominal(ra...
How to train a Neural Network with an input data set that comprises of numeric values as well as nominal variables (such as the base fluid used which could be either 'Water', 'Oil' or 'Slickwater')?
Try to code your nominal variables as dummy binary variables, then input that into your neural network. nomvar = nominal(ra...
거의 11년 전 | 0
답변 있음
how get k space data from MRI dicom images
Note, that I am by no means an expert and that this question is not even related to Matlab. However, here is my opinion: Answ...
how get k space data from MRI dicom images
Note, that I am by no means an expert and that this question is not even related to Matlab. However, here is my opinion: Answ...
11년 초과 전 | 0
답변 있음
HOW TO PERFORM THIS EQUATION IN MATLAB?u=∑_(i=1)^t▒(i*p_i/w)
Here is a minimal example with random data. The last line is the actual answer to your question. t = 100; p = rand(1,t);...
HOW TO PERFORM THIS EQUATION IN MATLAB?u=∑_(i=1)^t▒(i*p_i/w)
Here is a minimal example with random data. The last line is the actual answer to your question. t = 100; p = rand(1,t);...
11년 초과 전 | 0
| 수락됨
답변 있음
How should I make A and b matrix in fmincon function?
fmincon is for minimization of a function under linear constraints A*X<=b. As you gave no information about your constraints, no...
How should I make A and b matrix in fmincon function?
fmincon is for minimization of a function under linear constraints A*X<=b. As you gave no information about your constraints, no...
11년 초과 전 | 0
| 수락됨
답변 있음
Column-wise dot-products of two gpuArrays
A possible solution (I hope it will be helpful to someone): C = sum(gpuArray(A).*gpuArray(B));
Column-wise dot-products of two gpuArrays
A possible solution (I hope it will be helpful to someone): C = sum(gpuArray(A).*gpuArray(B));
11년 초과 전 | 0
| 수락됨
질문
Column-wise dot-products of two gpuArrays
Is there a good way to compute column-wise dot-products of two matrices of same size when stored on the GPU? Specifically, say A...
11년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to declare kfun function in svmtrain
data = randn(100,10); groups = rand(100,1)>0.5; g = 1; r = 1; svmstruct = svmtrain(data, groups, ... 'Kernel_...
How to declare kfun function in svmtrain
data = randn(100,10); groups = rand(100,1)>0.5; g = 1; r = 1; svmstruct = svmtrain(data, groups, ... 'Kernel_...
11년 초과 전 | 0
답변 있음
Error:Undefined function or method 'gpuArray' for input arguments of type 'uint8'
gpuArray is a function of the 'Parallel Computing Toolbox'. Without this toolbox, the function can not be called. The command 'v...
Error:Undefined function or method 'gpuArray' for input arguments of type 'uint8'
gpuArray is a function of the 'Parallel Computing Toolbox'. Without this toolbox, the function can not be called. The command 'v...
11년 초과 전 | 0
답변 있음
Script to run a Matlab Script on the event of crash
The "try .. catch .. end" construct might be what you are looking for. In case an error occurs between try and catch, then the c...
Script to run a Matlab Script on the event of crash
The "try .. catch .. end" construct might be what you are looking for. In case an error occurs between try and catch, then the c...
11년 초과 전 | 0
답변 있음
How do I average rows which contain the same first to elements?
This solution is not very elegant, but should work. There is room for improvement, though. uA = unique(A(:,1:2),'rows'); ...
How do I average rows which contain the same first to elements?
This solution is not very elegant, but should work. There is room for improvement, though. uA = unique(A(:,1:2),'rows'); ...
11년 초과 전 | 1
| 수락됨
답변 있음
How can I shift the time series in y axis?
Shift in y-direction just by adding 1,2,...,nFloors to each data line. N = 100; nFloors = 5; x = 1:N; y = bsxfun(@...
How can I shift the time series in y axis?
Shift in y-direction just by adding 1,2,...,nFloors to each data line. N = 100; nFloors = 5; x = 1:N; y = bsxfun(@...
11년 초과 전 | 0
| 수락됨
답변 있음
help in Neural Network classifier
see help patternnet or doc patternnet for an example with four features and three classes.
help in Neural Network classifier
see help patternnet or doc patternnet for an example with four features and three classes.
11년 초과 전 | 0
| 수락됨
답변 있음
How to customize SVM kernel parameters in Matlab
Documentation given by help svmtrain should give you all information you need. What is the meaning of your variable _r_...
How to customize SVM kernel parameters in Matlab
Documentation given by help svmtrain should give you all information you need. What is the meaning of your variable _r_...
11년 초과 전 | 0
답변 있음
Why fopen does not accept the path when it is assigned to a variable.
omit the the '' to get the content of the variable filename. fid=fopen(filename,'w')
Why fopen does not accept the path when it is assigned to a variable.
omit the the '' to get the content of the variable filename. fid=fopen(filename,'w')
11년 초과 전 | 0
| 수락됨
질문
Hidden Layer Activations in NN Toolbox
I'm looking for a non-manual way to compute the layer activations of an arbitrary neural network created with the Neural Network...
11년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to get Gradient from Network Created by Neural Network Toolbox?
Actully, the function 'staticderivative' can do this for a static network. In general, however, it is likely that defaultderiv i...
How to get Gradient from Network Created by Neural Network Toolbox?
Actully, the function 'staticderivative' can do this for a static network. In general, however, it is likely that defaultderiv i...
11년 초과 전 | 0
| 수락됨
답변 있음
I want to initialize a very large character array with the same character string
Have you tried 'repmat'? N = 100000; A = repmat('String',N,1); If you must use a for-loop, you should pre-allocate th...
I want to initialize a very large character array with the same character string
Have you tried 'repmat'? N = 100000; A = repmat('String',N,1); If you must use a for-loop, you should pre-allocate th...
11년 초과 전 | 1
답변 있음
change patternnet transfer function
try following to change the transfer function in the first hidden layer: net.layers{1}.transferFcn = 'tansig';
change patternnet transfer function
try following to change the transfer function in the first hidden layer: net.layers{1}.transferFcn = 'tansig';
11년 초과 전 | 1
질문
How to get Gradient from Network Created by Neural Network Toolbox?
How can the gradient of the performance function with respect to the weights and biases of a neural network created by the Neura...
11년 초과 전 | 답변 수: 2 | 0