MATLAB is a high-level language and interactive programming environment developed by MathWorks. It is the foundation for a number of other tools related to statistical analysis, including Statistics Toolbox, Optimization Toolbox, Curve Fitting Toolbox and Neural Network Toolbox.

learn more… | top users | synonyms

0
votes
0answers
8 views

How do I install and use Shogun toolbox in matlab? [on hold]

I want to use Shogun toolbox in matlab (windows) but their installation guide is not clear. Does anyone know simple steps to install shogun toolbox in matlab?
1
vote
0answers
28 views

How does MATLAB compute the correlation coefficient for robust nonlinear least squares?

As part of a much larger project, I was running some fits and compared the results with what a colleague had and I noticed that our correlation coefficients weren't matching. So I have some data, and ...
0
votes
0answers
8 views

Multiobjective optimization [on hold]

by using sigmaplot I have fitted my data for the sigmoid function for two objectives as Accuracy and FAR and after curve fitting and obtained two equation as Accuracy(n) = -(a1/1+e^-(n-c1/b1)) and ...
0
votes
0answers
19 views

Finding the norm of the residual of vector x [on hold]

I am working in matlab and have matrix A and vector b. I have done A\b and produced x, and now am asked to find the norm of the residual using this x. Can someone kinda explain what this means. And ...
0
votes
0answers
16 views

p-value test for comparing classifiers

I have to use p-value test to compare two classifiers. I am getting the error vectors of 2 hypothesis and I am using their difference as an input in ttest function of MATLAB ...
0
votes
0answers
46 views

How to implement a simple Bayesian Network for Time Series Data?

I'm a computer science grad student, with not much knowledge in Bayesian statistics, so I'm seeking for guidance for the simplest start. I have 10 variables, like demand, price etc. and I want to ...
0
votes
0answers
6 views

meanZero error when trying to use GPML gp function to perform regression to predict y

I've trying to learn how to use Gaussian Process for Machine learning (GPML)to do some prediction stuff. My goal is to get the returned output ...
1
vote
1answer
20 views

Calculation of Higher-Order Cross-moments

How can I calculate standardized central cross-moments for 2 time-series? The 4th-order standardized central moment, kurtosis, is; ...
0
votes
1answer
11 views

Generating Regression For Unknown Beta in Matlab

My professor wants me to generate a regression problem based on the following: B is fixed unknown 100,100 matrix, X is random 100,100 matrix and y and noise are a random scalar for every output. He ...
0
votes
0answers
34 views

Stochastic Gradient Descent for Logistic Regression always returns a cost of Inf and weight vector never gets any closer

I am trying to implement a logistic regression solver in MATLAB and i am finding the weights by stochastic gradient descent. I am running into a problem where my data seems to produce an infinite ...
1
vote
1answer
52 views

Elegant way to plot a probability density function?

Given a set of samples I would like to draw a nice plot showing their probability. Something like this (notice the vertical bar showing the samples): Or even harder like this (considering a weight ...
0
votes
0answers
16 views

How to improve ANN results?

I have a 10 by 57300 matrix as an input, and a 1 by 57300 matrix as an output that only includes 0 and 1.I tried to train neural network with feed-forward back propagation and layer recurrent back ...
0
votes
0answers
16 views

How to do optimization using asymmetrical loss functions (LINEX)

Long time Lurker, first time asking. For a research paper, i'm required to optimize some parameters of a certain function using an asymmetrical loss function, specifically LINEX and compare it to the ...
0
votes
0answers
11 views

how to run libsvm with histograms?

My train set is array of histograms, each one is 100x5004, as each histogram represent one action, and it contains 100 points. I have train set of array of size 10x(100x5004), and labels set of size ...
0
votes
0answers
26 views

PCA run on any 4 tenors of interest rate swaps results in identical or exact opposite zscores of the residuals

I'm stumped when I run PCA on 4 tenors on a yield curve, it can be any 4 tenors, any length of data, and it's always the same thing I observe. The z-scores of my residuals are identical to each ...
0
votes
2answers
37 views

Coordinate descent on objective function with discontinuous derivative

I'm trying to perform a customized nonlinear regression. I'm using the Linex loss function instead of least-squares. I'm doing LASSO-style regularization, so that my objective function has ...
0
votes
0answers
7 views

Cost keeps on increasing in Multinomial logistic regression, instead of reducing

I am trying to implement multinomail logistic regression using gradient descent, following http://ufldl.stanford.edu/wiki/index.php/Softmax_Regression My data set has 7 ratings classes from 1 to 7. ...
1
vote
1answer
34 views

Tool form Hierarchical clustering

I'm trying to perform a hierarchical Clustering Analysis in a dataset of 40 attributes and +70,000 records, which is mostly composed by categorical variables. I've used Matlab and RapidMiner to ...
1
vote
1answer
27 views

The sum of the kernel density values is not 1?

>> x = [randn(30,1); 5+randn(30,1)]; >> [f,xi] = ksdensity(x); >> sum(f) ans = 5.5376 I ran the ...
0
votes
0answers
23 views

how to superimpose two matlab images rigidly transformed to perform a metrics

i got two MRI images on matlab, i need to perform an intensity based registration similarity metrics in order to get a registration. The problem is that, since i got some rigid transformation on one ...
0
votes
0answers
8 views

Estimating time-lagged mutual information for two signal samples

This is an attempt to reproduce Moon et al. 1995, and the author's copy can be obtained through here. As a benchmark, we estimate the time-lagged mutual information of a simple sine signal ...
0
votes
0answers
38 views

Choosing initial transition and emission probabilities while training HMM

A Hidden Markov Model (HMM) is defined by the following parameters: $HMM =(prior, transmat, obsmat)$ Using K Murphy's HMM toolbox [1], I ran a small experiment where I define a set of true ...
1
vote
0answers
34 views

Where can I find a MATLAB implementation of Convolutional Deep Belief Network?

I have been trying to find a MATLAB implementation of the Convolutional Deep Belief Network. A Google search returned libraries that implement a Convolutional Restricted Boltzmann machine. I am aware ...
0
votes
0answers
16 views

NARX model to predict future values

I have this problem , where I have to predict a value of a indicator which depends on 270 other predictor variables. I read the time series modelling and prediction on MATLAB , which took the example ...
0
votes
0answers
11 views

Cross Validation and perfcurv in Matlab

I am trying to use perfcurv in a cross validation code. However at some point all the members of the test dataset are of the same class (0). My problem is a binary classification problem. Therefore ...
0
votes
1answer
32 views

Feature selection when bagging trees/random forest

I want to get a better understanding of feature selection and how the number of features affect performance when bagging trees. I am using Matlab's treebagger and I ...
0
votes
0answers
18 views

multidimensional time series nonlinear parameter estimation

I am trying to fit time series data for performing parameter estimation of a nonlinear multidimensional dynamical model (grey-box). At the moment I'm successfully using MATLAB's ...
2
votes
2answers
35 views

K-means clustering in Matlab for feature selection

I am doing feature selection on a cancer data- set which is multidimensional (27803 * 84). I want to try with k-means clustering algorithm in Matlab but how do I decide how many clusters do I want? ...
0
votes
1answer
21 views

usage of libsvm-matlab version

Based on the readme file in the libsvm package. The svmpredict matlab version function is used in the following way: ...
0
votes
1answer
58 views

How do I use the Hessian matrix for maximum likelihood estimation?

I am trying to teach myself maximum likelihood estimation using the Newton-Raphson method and related iterative methods. I don't understand the link between the hessian, the expected value of the ...
0
votes
1answer
27 views

Error bars and coefficient computation on linear regressions in Matlab

I have a handful (~5) of values x I need to plot against a handful of values y (actually, log(x) vs. log(y)), in order to derive a linear equation used to derive an empiric power equation. However, I ...
0
votes
0answers
15 views
0
votes
1answer
42 views

How to prepare my data for SVM classifier in matlab

I am new to SVM and Matlab. I would like to have an example how to prepare my data to be as input to the SVM classifer (using libsvm) let us assume that i have a group of words first i have ...
0
votes
0answers
42 views

Fitting ARIMAX with lagged X variable (Matlab)

This question is divided into two parts. I currently have a Y vector with 364 data points (Y) and an exogenous variable (X) with 364 data point. X is a good predictor for Y that I want to pair up ...
0
votes
0answers
10 views

Mapping of input and output values for a Multilayer Perceptron

I try to understand Multilayer Perceptrons for function regression. As a starting reference I am using the matlab neuronal network toolbox. There I mentioned that the tool maps the input and output ...
0
votes
0answers
40 views

Finding transformation function for a distribution that looks like exponential

Suppose that we have two data sets, R and P. R is larger than or equal to ...
0
votes
0answers
55 views

Matlab: Unable to plot partial autocorrelation plot

For a time series I wanted to plot separately the partial auto correlation. Below is the graph for a time series which shows PACF plot of the time series $x$ which I wanted to reproduce: This ...
0
votes
0answers
73 views

Best Validation check number for MATLAB neural network

I'm using 10-fold cross validation and patternent function for a binary classification problem in ...
0
votes
0answers
12 views

Value Iteration exact convergence

I'm running Gauss Seidel value iteration on a weapon-target assignment problem (I can explain this more later if necessary, but i don't think it is). My VI is converging exactly in 2 iterations. I'm ...
4
votes
1answer
61 views

Decompose (deconvolve) a 2-peaked pdf into 2 elementary pdfs

How could I decompose a two-peaked (empirical) pdf into 2 say lognormals or other appropriate pdf in a straightforward way? I'd prefer in Matlab. to something like this: Thanks!
0
votes
1answer
34 views

Create a threshold for binary classification problem based on distribution of criterion

I created a criterion for my financial data-set for classify data to two classes for other processing (like neural network binary classificatio). After calculating ...
0
votes
0answers
33 views

All neural network designs stop because of early stopping in MATLAB

I'm using patternnet for my binary classification in MATLAB and using ...
0
votes
0answers
75 views

Best K in K-fold cross validation

I'm using K-fold cross validation technique for generating train,test and ...
2
votes
0answers
159 views

Finding best neural network structure and inputs using optimization algorithm and cross-validation

I'm using optimization algorithm to find best structure+inputs of a patternnet neural network in MATLAB R2014a using ...
0
votes
1answer
40 views

Fitting an exponential distribution to data and finding third quartile problem

I have a data-set with range of 0 to 1. I'm fitting a distribution to it in MATLAB using ...
1
vote
2answers
75 views

Exponential distribution hypothesis testing

I want exponential distribution hypothesis testing with MATLAB. Is any test or method for that?
1
vote
0answers
31 views

Optimize number of layers and neurons with an optimization algorithm

I have a neural network that i want optimize number of hidden layers and neurons in every layer using an optimization algorithm like ...
0
votes
1answer
29 views

Composition of bankruptcy probability and firm size

I'm using neural network for a binary classification problem of bankruptcy prediction using patternnet function in MATLAB, so i ...
6
votes
1answer
261 views

Generate random numbers following a distribution within an interval in R

I need to generate random numbers following Normal distribution within the interval $(a,b)$. I know the function rnorm(n,mean,sd) will generate random numbers ...
0
votes
1answer
51 views

Outlier detection using k-means in a binary classification problem

I'm using k-means in every class of a binary classification problem and remove samples that have high distance from center of my features (21 features so 21 ...