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
6 views

Can I plot three column vectors to create a three-dimensional plot? [on hold]

Can I plot three column vectors as is to create a 3D plot, or will I have to manipulate a couple of them first in order to achieve this? Thanks.
-1
votes
0answers
9 views

sound classification [on hold]

I am working with a project that there I have to identify ten different dogs by backing sounds and then give a command to feed them with different amount for different dogs. can someone help me to ...
0
votes
0answers
12 views

Plotting of density estimates in matlab [migrated]

Given the biometric match scores, I am required to plot the graphs of estimated densities of matching genuine and impostor scores. Following are the graphs I got for genuine and impostor scores ...
0
votes
0answers
19 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
8 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
32 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
37 views

K-fold cross-validation for testing model accuracy in MATLAB [migrated]

I'm having some trouble truly understanding what's going in MATLAB's built-in functions of cross-validation. My goal is to develop a model for binary classification and test its accuracy by using ...
0
votes
0answers
28 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
21 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
4 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
54 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
19 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
13 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
32 views

Best K in K-fold cross validation

I'm using K-fold cross validation technique for generating train,test and ...
2
votes
0answers
85 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
29 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
38 views

Exponential distribution hypothesis testing

I want exponential distribution hypothesis testing with MATLAB. Is any test or method for that?
1
vote
0answers
26 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
22 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
227 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
33 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 ...
1
vote
0answers
18 views

Sensitivity Analysis for Mulitple Dependent and Independent Variables

I have Mulitple Vectors of Independent Variables and Multiple Vectors of Dependent Variables from a Monte Carlo Simulation. For each Dependent Variable, I want to know the contribution of each ...
0
votes
1answer
10 views

Matlab classify function for multi-class classification

What kind of Machine Learning method does the function "classify" in Matlab use for the multi-class classification? Is it SVM? If so, how does it use the classifier for multiple classes?
0
votes
1answer
29 views

Whats going wrong in Implementation of this gaussian bernoulli RBM?

I have a problem in finding negdata value. In particular multiplying with sigma. Could someone help in representing this equation vishid*sigma*poshidstates + visbias in matlab. ...
0
votes
1answer
33 views

Issues in estimation and plot

I am learning adaptive filters and testing the performance of using Least Squares and Kalman filter for parameter estimation for $y = X + \text{noise}$. The model is autoregressive AR(2) model $$y(t) ...
0
votes
1answer
50 views

Convert continues number to integer number in optimization algorithms in MATLAB

I'm using a continuous optimization algorithm for optimizing neural network's number of neurons in first and second layers besides feature selection so I used this structure for converting continues ...
0
votes
0answers
9 views

Stata - Multiple rotated plots on graph (including distributions on sides of axes) [migrated]

I would like to produce a single graph containing both: (1) a scatter plot (2) either histograms or kernel density functions of the Y and X variables to the left of the Y axis and below the X axis. I ...
1
vote
1answer
80 views

Outlier detection in out-sample data for the purpose of classification

This is the most widely used method for outlier detection in econometrics and statistical problems. X is our data that we're searching for outliers in it (in ...
0
votes
0answers
25 views

Problem simulating AR and MA models using filters

I do not know how to use filter to simulate AR and MA models. To me it looks the same way for both MA and AR Estimate AR so then how do I know that the model is AR or MA ? For example, Problem1: For ...
0
votes
1answer
22 views

Cross-correlation in matlab: symmetrical plot and sign convention

I have two cosine signals in MATLAB both having a frequency of 100 Hz and the second signal has been delayed in time by 0.003 seconds. Both signals have been sampled at 1 Khz. When I use the cross ...
1
vote
0answers
36 views

Estimating error in ARIMA(p,d,q)

I am trying to model my data with ARIMA(1,2,12) and since the variance is not stationary I have also included GARCH (2,3). I have saved all the parameter of my model in a variable called mdl. I have ...
0
votes
0answers
49 views

Autoregressive distributed lag models ADL(p,q): seeking “how to” preferably in Matlab (Stata/R/Python/C# etc)

Could anyone provide me the details of how to determine the lag order of the distributed lags for an $\text{ADL}(p,q)$ model in Matlab or another statistical package (and very much preferably in ...
0
votes
0answers
27 views

How calculate average probabilities in MLP or SVM?

I have a system that find best model (best inputs and parameters of MLP/SVM) model in a financial problem for every inserted database and create a specific model for a specific data sample. I'm using ...
1
vote
1answer
49 views

How do I compute the density of this data set that is made up of two different 3D-distributions?

A sequel to this question. I have a dataset where: $\frac{4}{5}$ of the points are drawn from: $(x, y) \sim \mathcal{U}_{2}(0,30)$, $(z) \sim \mathcal{U}_{1}(14.5, 15.5)$. $\frac{1}{5}$ of the ...
0
votes
0answers
29 views

Interpreting the Johansen cointegration test output

I am running the Johansen cointegration test using 2 non-stationary time-series, as suggested by the literature. The output I got is the following: ...
1
vote
1answer
55 views

Multivariate normal distribution has peaks

I'm trying to calculate a bivariate normal distribution in matlab(with mvnpdf), but the pdf I obtain has a strange shape with several peaks. This is the code I use: ...
4
votes
1answer
157 views

Total least squares curve fit problem

I am trying to fit a quadratic curve across a scatter plot of two variables. Since both variables are noisy I cannot use an ordinary least square regression (OLS) and I would like to have a ...
0
votes
0answers
24 views

Multi-class AUC in Matlab

I would like to compute the area under the ROC-courve (AUC) metric for a classifier with multiple classes. Do you know (reliable) functions for Matlab that implement methods for that, like e.g. in ...
0
votes
0answers
36 views

Expectation Maximization, dice example, always converging in second iteration

I am simulating two loaded dice and trying to estimate individual die prior probabilities and probability mass functions for each of them using the EM algorithm. Below is my Matlab code. Likelihood ...
0
votes
0answers
20 views

Custom Neural network in matlab

I am trying to make a custom Neural network structure using 'network' command. I am a little confused.Can we change the connections between individual neurons?Like it is possible in weka?
0
votes
0answers
41 views

MATLAB interperetation of Neural networks

I am new to Neural networks and I am trying to build a custom neural network using the NN toolbox in MATLAB.I am using the "create custom neural network function". Now, I find the neural network ...
0
votes
1answer
44 views

Logarithmic probabilty distribtion and respective problems in matlab

Dear crossvalidated community, quite frankly, I'm not that much into statistics and therefore, I'm having much trouble solving some issues im having in Matlab right now. My plan is to ...
1
vote
0answers
24 views

Walking recognition

I have walking samples from 20 different people. My aim is to detect which walking samples are from which person. I'm trying to achieve this by extracting "walking cycles" from each person's dataset ...
1
vote
0answers
51 views

How can I calculate a discrete Cumulative Distribution MultiDimensional Array from a discrete Probability Mass Array when dimensions > 2?

I would appreciate any help in trying to calculate the Cumulative Distribution Array of a Probability Mass Array when dimensions > 2, essentially a discrete joint cumulative distribution from a sample ...
0
votes
0answers
108 views

10 fold cross validation model in weka

Trying to build a specific Neural Network arcitecture and testing it using 10 fold cross validation of a dataset. Now building the model is a tedious job and Weka expects me to make it 10 times for ...
1
vote
0answers
39 views

Neural networks creates negative output

I am using a simple feedforward neural network in MATLAB to predict the output for inputs in the range [1e-5, 0.3]. (These are the activations of another network.) I am using a sigmoid function for ...
1
vote
0answers
21 views

How to check if data needs to be seasonally differenced in MATLAB

I am forecasting data using ARIMA. I would like to know if there is any test to check if seasonal differencing is needed in the ARIMA model. I know R uses Canova Hansen test, but does MATLAB provide ...
0
votes
0answers
40 views

Trend: Linear or exponential

I am trying to forecast data using ARIMA. I have read articles which say that I should first take the log of the series, if my series follows an exponential trend. My question is: Is there a ...
0
votes
1answer
42 views

DBSCAN & OPTICS [closed]

I'm looking for DBSCAN and OPTICS matlab codes for clustering 'm' pattern in 3D space: the imput is a matrix where the 'm' rows are vectors a the 'n'=3 columns are X,Y,Z axes. I would also like the ...
1
vote
1answer
38 views

Intuition behind which eigenvectors to use in PCA for orthogonal regression

I am learning PCA, and while this seems like an obvious question, I can't seem to understand some of the ideas behind which eigenvectors to use when performing orthogonal regression with PCA. My code ...