Réponse apportée
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 ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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','...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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) ...

plus de 13 ans il y a | 0

Réponse apportée
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/...

plus de 13 ans il y a | 1

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
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),:...

plus de 13 ans il y a | 2

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
findpeaks: Error using findpeaks (line 43) Input arguments must be 'double'.
what is: >> class data_no make sure it is double

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

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

plus de 13 ans il y a | 1

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a