Respondida
Example of using crossval function with ar or arx-function in matlab?
If you have programmed your own AR/ARX estimator then great, if you haven't then both Econometrics toolbox as well as System Id ...

más de 13 años hace | 0

| aceptada

Respondida
How to hold colorbar in contourf plot
I haven't tried this entirely, but instead of cla and replotting try figure(1) contourf(1,b,c)' h = colorbar('YScale','...

más de 13 años hace | 1

| aceptada

Respondida
fitting vector valued functions
From your questions I appears that you want to perform Multivariate Regression where the response is m dimensional Y = F(X) ...

más de 13 años hace | 0

Respondida
Optimization algorithm into MATLAB
It looks like you are trying to fit an ODE. I suggest going through the following article: http://www.mathworks.com/help/optim/...

más de 13 años hace | 1

Respondida
xlsread on Mac not working
XLSREAD is designed to read Excel files only on windows and will not work on Macs. By default XLSREAD will revert to CSVREAD on ...

más de 13 años hace | 0

Respondida
Delete rows in a matrix that contain ONLY a negative number
If you don't want to use loops and keep it simple in a single line, I suggest logical indexing as follows: A(all(A==-999,2),:...

más de 13 años hace | 2

Respondida
What Estimator should I use Least Squares, Least Extended Square ?
Extended Least Squares allows for a variance model. Do you have a reason to specify a variance model? then you can use the ELS m...

más de 13 años hace | 0

| aceptada

Respondida
findpeaks: Error using findpeaks (line 43) Input arguments must be 'double'.
what is: >> class data_no make sure it is double

más de 13 años hace | 1

| aceptada

Respondida
Simulink and gui and Standalone executabel?
Most command line functionality and custom GUIs are supported, all shipped GUIs are not supported for compilation and distributi...

más de 13 años hace | 0

Respondida
delete the row where is a NaN
Is there a requirement to be using cells? if no you can do this quickly without loops, if yes, you can always convert them into ...

más de 13 años hace | 0

Respondida
Script as Objective Function in lsqcurvefit (Optimization tool)
It appears that "J1615_onezone_optimization_Dymola_function" should itself represent the curve you are trying to fit from your f...

más de 13 años hace | 1

Respondida
How can I extract and store the spline fitting curve function on my data?
If you created the spline as follows pp = spline(x,y); >> pp.coefs will give you the coefficients for each of the piece wise ...

más de 13 años hace | 0

Respondida
How can I obtain error in parameters estimated in optimization toolboox (lsqcurvefit) ?
It appears that you are looking for confidence intervals to evaluate how good your fit is. Unfortunately LSQCURVEFIT or other fu...

más de 13 años hace | 1

| aceptada

Respondida
Finding plant model in SISO system. Need help
If you already have the transfer functions for K and G then you can use the CONNECT and FEEDBACK function to get T without havin...

más de 13 años hace | 1

Respondida
How to CODE for a NN controller in MATLAB command window?
Here is a good example for model reference control: http://www.mathworks.com/help/nnet/ug/model-reference-control.html If yo...

más de 13 años hace | 0

Respondida
I need help for Genetic Algorithm to tune value of the controller parameters and gains
Robotics Toolbox seems to be a 3rd party toolbox not shipped/purchased from MathWorks. While the controller is simulated using t...

más de 13 años hace | 0

| aceptada

Respondida
Levenberg-Marquardt in LSQNONLIN vs. FSOLVE
LSQNONLIN and FSOLVE solve different type of optimization problems. While LSQNONLIN expects that f(x) is vector valued, it also...

más de 13 años hace | 0

Respondida
Error using 'mvregress' function
From the error it appears that the X or Y or both may be cell instead of matrices. You can verify that by using class as Walter ...

más de 13 años hace | 0

Respondida
Undefined function 'filter' for input arguments of type 'arima'
The filter method for the arima class (along with garch egarch and gjr) was introduced in MATLAB 2012b econometric toolbox relea...

más de 13 años hace | 0

Respondida
Changing the confidence Interval
You can always save the fitted model from CFTOOL : Fit > Save To Workspace and fun the following command: confint(fittedmodel,...

más de 13 años hace | 1

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

alrededor de 14 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

alrededor de 14 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

alrededor de 14 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

alrededor de 14 años hace