Answered

difference between bernoulli and binomial random variables

The Bernoulli distribution is a special case of the binomial distribution, with the number of trials n = 1. https://en.wikip...

difference between bernoulli and binomial random variables

The Bernoulli distribution is a special case of the binomial distribution, with the number of trials n = 1. https://en.wikip...

7 years ago | 0

Answered

How to use KNN to classify data in MATLAB?

You need a validation set if you want to tune certain parameters in the classifier. For example if you were to use SVM with rbf ...

How to use KNN to classify data in MATLAB?

You need a validation set if you want to tune certain parameters in the classifier. For example if you were to use SVM with rbf ...

7 years ago | 2

Answered

Why does quadprog return different results on different machines?

Did you provide the starting point yourself? If you have multiple optimums then the result will be sensitive to the starting poi...

Why does quadprog return different results on different machines?

Did you provide the starting point yourself? If you have multiple optimums then the result will be sensitive to the starting poi...

7 years ago | 0

Answered

Running >1 matlabpool jobs with the same local pool

Maximum of 1 MATLAB worker per CPU core is recommended. This does not include hyperthreaded virtual cores. As an examples, if yo...

Running >1 matlabpool jobs with the same local pool

Maximum of 1 MATLAB worker per CPU core is recommended. This does not include hyperthreaded virtual cores. As an examples, if yo...

7 years ago | 0

Answered

Wind speed forecasting using ARIMA model

Forecast will never be identical to the actual series. After all this is a model. To quote famous statistician George Box "ess...

Wind speed forecasting using ARIMA model

Forecast will never be identical to the actual series. After all this is a model. To quote famous statistician George Box "ess...

7 years ago | 0

| accepted

Answered

How to do parameter estimation of a ODE based model through Global Optimization Toolbox?

More details on how you would go about fitting an ODE using optimization: http://www.mathworks.com/help/optim/ug/optimizing-a...

How to do parameter estimation of a ODE based model through Global Optimization Toolbox?

More details on how you would go about fitting an ODE using optimization: http://www.mathworks.com/help/optim/ug/optimizing-a...

7 years ago | 0

Answered

how can use optimization without using optimization tool box from the matlab simulink

Some solvers are part of MATLAB and don't need the optimization toolbox: http://www.mathworks.com/help/matlab/optimization.ht...

how can use optimization without using optimization tool box from the matlab simulink

Some solvers are part of MATLAB and don't need the optimization toolbox: http://www.mathworks.com/help/matlab/optimization.ht...

7 years ago | 1

| accepted

Answered

IS THERE ANY TOOLBOX FOR K MEANS CLUSTERING IN MATLAB?

<http://www.mathworks.com/help/stats/kmeans.html KMEANS> is part of the Statistics Toolbox as dpb mentioned. If you are interes...

IS THERE ANY TOOLBOX FOR K MEANS CLUSTERING IN MATLAB?

<http://www.mathworks.com/help/stats/kmeans.html KMEANS> is part of the Statistics Toolbox as dpb mentioned. If you are interes...

7 years ago | 2

Answered

how to write the code to smooth a function and then minimize it

GA is quite robust to discontinuities and 'non-smooth' objective functions. Did you give it a try without smoothing? When the...

how to write the code to smooth a function and then minimize it

GA is quite robust to discontinuities and 'non-smooth' objective functions. Did you give it a try without smoothing? When the...

7 years ago | 0

Answered

What Matlab can do without toolbox

No, you need the global optimization toolbox. What are you looking to do?

What Matlab can do without toolbox

No, you need the global optimization toolbox. What are you looking to do?

7 years ago | 0

Answered

Forecasting with an AR(8) model

Have you seen the doc already? If you haven't here's the link to ARIMA models: http://www.mathworks.com/help/econ/arima.estim...

Forecasting with an AR(8) model

Have you seen the doc already? If you haven't here's the link to ARIMA models: http://www.mathworks.com/help/econ/arima.estim...

7 years ago | 0

| accepted

Answered

Why is my resubLoss so high?

Maybe a single regression tree is not sufficient to model your data. You may want to try using an ensemble of bagged trees. ...

Why is my resubLoss so high?

Maybe a single regression tree is not sufficient to model your data. You may want to try using an ensemble of bagged trees. ...

7 years ago | 0

| accepted

Answered

fitlm - change the output of this function

Tania, you get everything by default. If you want to be specific you may have to suppress the commandline output (using semicolo...

fitlm - change the output of this function

Tania, you get everything by default. If you want to be specific you may have to suppress the commandline output (using semicolo...

7 years ago | 0

| accepted

Answered

confidence intervals with lsqlin

If you have constraints (looks like you do since you use lsqlin) then you will have to explore bootstrapping methods to estimate...

confidence intervals with lsqlin

If you have constraints (looks like you do since you use lsqlin) then you will have to explore bootstrapping methods to estimate...

7 years ago | 1

| accepted

Answered

Features selection based on mutual information

You can start by obtaining code for mutual information on file exchange: http://www.mathworks.com/matlabcentral/fileexchange/...

Features selection based on mutual information

You can start by obtaining code for mutual information on file exchange: http://www.mathworks.com/matlabcentral/fileexchange/...

7 years ago | 0

Answered

Binornd draws '1' every time

Why don't you generate all of your random numbers before hand and just use index into the array at each loop iteration? It shoul...

Binornd draws '1' every time

Why don't you generate all of your random numbers before hand and just use index into the array at each loop iteration? It shoul...

7 years ago | 0

Answered

Can I install the Matlab&Simulink student version (R2013a) in more than one of my PCs??

If you go to your mathworks account you may be able to activate it on another machine. I would recommend you give these guys a ...

Can I install the Matlab&Simulink student version (R2013a) in more than one of my PCs??

If you go to your mathworks account you may be able to activate it on another machine. I would recommend you give these guys a ...

7 years ago | 0

| accepted

Answered

Parallel computing on a cluster

My guess is that when you queue it, it launches MATLAB without Java. Java is required to use PCT. That also explains why it wo...

Parallel computing on a cluster

My guess is that when you queue it, it launches MATLAB without Java. Java is required to use PCT. That also explains why it wo...

7 years ago | 0

| accepted

Answered

Interpolation of non-regular matrices

Scattered Interpolation is the way to go: http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html If t...

Interpolation of non-regular matrices

Scattered Interpolation is the way to go: http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html If t...

7 years ago | 0

Answered

Explain this one line of code

Aftab, Random number generators are really pseudorandom (deterministic). This means for a given "seed" you can consistently rege...

Explain this one line of code

Aftab, Random number generators are really pseudorandom (deterministic). This means for a given "seed" you can consistently rege...

7 years ago | 0

Answered

pca function automatically mean-centers

You are right, by default PCA centers the data. You can however ask PCA not to do that: http://www.mathworks.com/help/stats/p...

pca function automatically mean-centers

You are right, by default PCA centers the data. You can however ask PCA not to do that: http://www.mathworks.com/help/stats/p...

7 years ago | 1

Answered

Train ten numbers and identify new inserted number

Your question is not clear. However, there are plenty of examples in the Neural Network Toolbox documentation: http://www.mat...

Train ten numbers and identify new inserted number

Your question is not clear. However, there are plenty of examples in the Neural Network Toolbox documentation: http://www.mat...

7 years ago | 2

Answered

ANOVA Cofficients: anovan stats.coeffs

More information about the n-way anova model: http://www.mathworks.com/help/stats/anova.html#bqttd3j-1

ANOVA Cofficients: anovan stats.coeffs

More information about the n-way anova model: http://www.mathworks.com/help/stats/anova.html#bqttd3j-1

7 years ago | 0

| accepted

Answered

Parallel Computing Toolbox compatibility with Nvidia graphics cards

NVIDIA CUDA GPUs with compute capability version 1.3 or higher, including Tesla GPUs. These GPUs support double-precision comput...

Parallel Computing Toolbox compatibility with Nvidia graphics cards

NVIDIA CUDA GPUs with compute capability version 1.3 or higher, including Tesla GPUs. These GPUs support double-precision comput...

7 years ago | 1

Answered

Crossval and regressiontree.fit - how does crossval works?

*What does KFold 10 means?* <https://en.wikipedia.org/wiki/Cross-validation_(statistics)> *matlab has done exactly?* MA...

Crossval and regressiontree.fit - how does crossval works?

*What does KFold 10 means?* <https://en.wikipedia.org/wiki/Cross-validation_(statistics)> *matlab has done exactly?* MA...

7 years ago | 0

| accepted

Answered

Neural Networks toolbox - How to choose which 'divideFcn' to use for time series prediction?

You can use any approach that works best for you. For time-series data, the toolbox uses lagged observations to create new predi...

Neural Networks toolbox - How to choose which 'divideFcn' to use for time series prediction?

You can use any approach that works best for you. For time-series data, the toolbox uses lagged observations to create new predi...

7 years ago | 2

Answered

Panel Data Regression

http://www.mathworks.com/videos/multilevel-mixed-effects-modeling-using-matlab-91755.html Various panel regression models are...

Panel Data Regression

http://www.mathworks.com/videos/multilevel-mixed-effects-modeling-using-matlab-91755.html Various panel regression models are...

7 years ago | 0

| accepted

Answered

External regressors in the volatility process of a GARCH.

You can include exogenous inputs to the arima model (arimax) with a garch variance model: mdl = arima('AR',0.2,'D',1,'MA',0...

External regressors in the volatility process of a GARCH.

You can include exogenous inputs to the arima model (arimax) with a garch variance model: mdl = arima('AR',0.2,'D',1,'MA',0...

7 years ago | 1

Answered

MATLAB CODE FOR 1 HIDDEN LAYER

There are plenty of examples in the neural network toolbox documentation: http://www.mathworks.com/help/nnet/function-approxi...

MATLAB CODE FOR 1 HIDDEN LAYER

There are plenty of examples in the neural network toolbox documentation: http://www.mathworks.com/help/nnet/function-approxi...

7 years ago | 1

| accepted

Answered

Using multiple CPU each with multicore, MATLAB only uses one of the CPUS

In MATLAB 2014a, there are no limits to how many workers you can use on a single machine, however it is recommended that you use...

Using multiple CPU each with multicore, MATLAB only uses one of the CPUS

In MATLAB 2014a, there are no limits to how many workers you can use on a single machine, however it is recommended that you use...

7 years ago | 1