Beantwortet
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 ...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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','...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
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) ...

mehr als 13 Jahre vor | 0

Beantwortet
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/...

mehr als 13 Jahre vor | 1

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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),:...

mehr als 13 Jahre vor | 2

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 1

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 1

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

Gelöst


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

etwa 14 Jahre vor

Gelöst


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...

etwa 14 Jahre vor

Gelöst


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 ...

etwa 14 Jahre vor

Gelöst


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:...

etwa 14 Jahre vor