Answered
What are target variables, predictor variables and prior probabilities?
Hi Lester, There are a lot of phrases here and I will try to explain them in that order with some context. Target variable, i...

13 years ago | 3

| accepted

Answered
Write nonlinear constraint to fmincon
Thanks for the error, it appears that your objective function myfun takes 'x' as a 4x1 vector while your nonlinear constraint as...

13 years ago | 0

| accepted

Answered
How can i obtain the angular frequency from the bode plot having the magnitude?
If you already have the bode plot then you can click on the plot with the datacursor on the toolbar and it will show you the mag...

13 years ago | 0

Answered
Selelcting Points in a plot embedded in a GUI
In GUIDE, go to tools -> Toolbar Editor and add Data cursor mode. If its a regular gui or plot you can always use >> datacurso...

13 years ago | 0

| accepted

Answered
solve return result as the form of syms
Just to a double of the output: double(y) and voila

13 years ago | 0

| accepted

Answered
Variance Ratio Testing (both homoskedasicty and heteroskedasticity consistent)
This maybe helpful, there are examples below: http://www.mathworks.com/help/econ/vratiotest.html

13 years ago | 0

Answered
nonlinear ordinary differntial equations
Start with ODE45, take a look at this example and it will help you get started: http://www.mathworks.com/help/matlab/math/ord...

13 years ago | 0

| accepted

Answered
How to use Maximum Likelihood estimation technique to asses time correlated noise in the time series. I want to use MLE to characterize the amplitude of stochastic processes, please help me
MLE is used to fit a distribution, and in your situation I suppose a noise model. A least squares might work as well for normall...

13 years ago | 0

Answered
Help for GA TOOL documentation
http://www.mathworks.com/help/gads/ga.html Please try a simple search on your favorite search engine before posting in the co...

13 years ago | 0

Answered
How to program power plant cogeneration optimization?
Without more information about the exact variables and the objective function its hard to give a specific answer, but yes if you...

13 years ago | 0

Answered
Time series prediction using multiple series
You can provide any number of exogenous inputs to your NARX network. If you are using the neural network toolbox, then just stac...

13 years ago | 0

Answered
Not enough input arguments
function fout=ff(pop) fout=pop(:,1).^2+pop(:,2).*pop(:,3)+pop(:,4); end >> pop = rand(100,4); >> ff(pop) This wo...

13 years ago | 0

Answered
Finding the definite integral of a constant?
Maybe you want to do this instead: az = ones(length(phi),1); azimuth = trapz(phi, az)

13 years ago | 0

| accepted

Answered
Add text and matrix in a figure
Here is a work around albeit crude: plot(rand(5,1)),legend({['1' ' 2' char(10) '3' ' 4' ]}) char(10) adds the new line

13 years ago | 0

Answered
Matlab 2012B: how do you do View-->Group by-->type?
You can always right click on the Name, Type etc header under the "Current Folder" bar and choose "Group By --> Type"

13 years ago | 0

| accepted

Answered
how can I remove noise by using frequency domain technique??
What find of filters are you looking for specifically? Here are some examples of deblurring filters in the image processing t...

13 years ago | 0

Answered
Sum digits after vpa(N,100) ?
Here you go: clear all digits(100); N=vpa(sym('sqrt(2)')); sumA = 0; for i = 1:100 sumA = sumA + (floor(N...

13 years ago | 0

| accepted

Answered
Random integer number generation
From what I understand you would like to generate random numbers from your set: >> fixed_int = [0,1,2,5,6,7,10,11,12] One ...

13 years ago | 0

Answered
Error using matlabpool (line 144)
To answer liang's question: As Jason suggest first validate your local profile to see if its working. Depending on what release...

13 years ago | 0

Answered
Enter in matlab a program to use the method gauss-seidel of solving the linear algebraic systems
http://www.mathworks.com/matlabcentral/fileexchange/32051-gauss-seidel-method

13 years ago | 0

| accepted

Answered
Running a python script in matlab
Could you try the above with a space between the two arguments? systemCommand = ['python sqd.py ',num2str(a),' ',num2str(omtr...

13 years ago | 0

Answered
Example of using crossval function with ar in matlab?
Hi Edvard, There is no such built in methods to cross validate your AR model. The example you show is for a classifier where it ...

13 years ago | 1

| accepted

Answered
plotting a power spectrum
http://www.mathworks.com/help/signal/ref/dspdata.psd.html http://www.mathworks.com/help/signal/ref/spectrum.periodogram.html ...

13 years ago | 0

Answered
Statistical features from a vector
Here is a list of all the summary statistics you can calculate on your data: http://www.mathworks.com/help/stats/summary-stat...

13 years ago | 1

| accepted

Answered
Numerical integration with nonlinear least squares curve fitting?
Since you are trying to fit a curve to an ODE, this page in the documentation has good pointers on the best solver to choose and...

13 years ago | 0

Answered
How to get a matrix in GUI as an input
Are you looking at an editable table? If you are then this file central submission must be of some help: http://www.mathworks...

13 years ago | 0

Answered
Using NN for forcasting
What you are looking at is timeseries modeling and not a classification network. In order to forecast a time series such as you...

13 years ago | 0

| accepted

Answered
fminsearch mle parameters estimation
You are out of luck if you want to do this directly with FMINSEARCH since it does not allow for constraints. Your best options w...

13 years ago | 0

Answered
How can the Global minimum be got using optimization toolbox?
Global Optimization Toolbox offers GlobalSearch and multistart so that you can start at several starting points and hope to arri...

13 years ago | 0

| accepted

Answered
Simulink and gui and Standalone executabel?
You can't deploy simulink applications as it is. Your only way out is to use Simulink Coder (formerly Real-Time Workshop) to gen...

13 years ago | 0

Load more