Statistics
RANK
1,131
of 292,807
REPUTATION
61
CONTRIBUTIONS
4 Questions
21 Answers
ANSWER ACCEPTANCE
75.0%
VOTES RECEIVED
13
RANK
of 19,942
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
6 years ago | 0 answers | 1
0
answersHow 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...
8 years ago | 6
| accepted
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...
9 years ago | 2
| accepted
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 years ago | 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...
10 years ago | 0
| accepted
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 years ago | 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...
10 years ago | 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...
10 years ago | 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);...
11 years ago | 0
| accepted
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 years ago | 0
| accepted
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 years ago | 0
| accepted
Question
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 years ago | 1 answer | 0
1
answerHow 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 years ago | 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...
11 years ago | 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...
11 years ago | 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'); ...
11 years ago | 1
| accepted
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 years ago | 0
| accepted
help in Neural Network classifier
see help patternnet or doc patternnet for an example with four features and three classes.
11 years ago | 0
| accepted
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 years ago | 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')
11 years ago | 0
| accepted
Question
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 years ago | 1 answer | 0
1
answerHow 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 years ago | 0
| accepted
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 years ago | 1
change patternnet transfer function
try following to change the transfer function in the first hidden layer: net.layers{1}.transferFcn = 'tansig';
11 years ago | 1
Question
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 years ago | 2 answers | 0