Respondida
Obtaining EOF's from svds, orientation changes each time
Are you running the whole script again, or just the SVD part? Since you are generating random numbers using RANDN you will be p...

alrededor de 13 años hace | 0

Respondida
Can I change the SVM classifier output from 'true', 'false' to 0,1?
You can cast it to double, try this: x = [true false true true]; y = double(x); >> whos Name Size ...

alrededor de 13 años hace | 0

Respondida
use fsolve with boundaries
Unfortunately as you mentioned FSOLVE does not do constraints as of currently. As an alternative and with no guarantees as alwa...

alrededor de 13 años hace | 0

Respondida
How to tune PI controller for grid connected Inverter ?
As long as you have the transfer function or state space model for you plant, which I am guessing is the grid connected inverter...

alrededor de 13 años hace | 0

Respondida
Finding sigma from fit using Curve Toolbox gaussian?
If you look at the gaussian equation the curve fitting toolbox fits: http://www.mathworks.com/help/curvefit/gaussian.html ...

alrededor de 13 años hace | 1

Respondida
limited number of Assets in a universe, with constraints.
Are you using the Financial Toolbox? If you are then you can create a portfolio object and set bounds for each of the assets: ...

alrededor de 13 años hace | 0

Respondida
How can I fit a curve with a linear chirp function?
Set up an optimization problem. Use FMINSEARCH if you don't have Optim toolbox or curve fitting toolbox. Write an objective f...

alrededor de 13 años hace | 0

Respondida
How can i use a c code/program in Matlab
You can use MEX interface if you want to call C/C++ code from MATLAB: http://www.mathworks.com/help/matlab/matlab_external/c-...

alrededor de 13 años hace | 1

Respondida
Problems with calculating Second derivative and SG smoothing
Liberty, to answer the more general question of approximating derivatives, there are numbers of ways and the simplest as Thorste...

más de 13 años hace | 0

Respondida
how to tune pid controller using genetic algorithm?
Is there a specific reason you want to use GA, and also you have given no information on what your target design specification i...

más de 13 años hace | 0

Respondida
what is the major advantages of using ANN in text-to-speech system?
What is your alternative? The reason you would use one machine learning algorithm over the other can be several and based on you...

más de 13 años hace | 0

Respondida
Cross validation for machine learning
What type of machine learning are you doing? Cross validation is fairly straightforward, all you need to do is use some random p...

más de 13 años hace | 0

| aceptada

Respondida
How to use PDF to differentiate between signals?
This is a generic question. So I would start with first visualizing the data by plotting its histogram using the HIST function. ...

más de 13 años hace | 0

Respondida
Warning: The display option can only plot 2D training data
You have high dimensional data (in |R^6) and obviously you can't visualize 6 dimensions, so don't force the 'showplot' to true a...

más de 13 años hace | 0

Respondida
defining geometry in pdetool
Do you have more than one geometry? I am able to execute pdepoly with your data and it works fine. Could you paste the 'exact...

más de 13 años hace | 0

Respondida
How to integrate the following function(using "int" command)
Why don't you set up two different integration problems: f1 = quad(@(x)x,0,2) f2 = quad(@(x)x^2,2,10) If you are concer...

más de 13 años hace | 0

Respondida
fuzzy function approximation in matlab?
There is a whole toolbox that deals with building mamdani systems: http://www.mathworks.com/help/fuzzy/mamdani-fuzzy-inferenc...

más de 13 años hace | 0

Respondida
lsqnonlin different results version r2011b vs r2012a
Look under R2012a, there have been changes to the levenberg-marquardt algorithm. Here is the link to the release notes. You migh...

más de 13 años hace | 0

Respondida
non linear least squares problem using BFGS
Do you want to code this yourself or is it OK to use something that comes with MATLAB? For the FMINUNC function in the Optimi...

más de 13 años hace | 0

| aceptada

Respondida
Raspberry Pi Support in XPC Toolbox
xPC is specifically for x86 architecture hardware, basically something that runs an intel processor. xPC target caters to rapid ...

más de 13 años hace | 1

Respondida
How to count numbers considering all consecutives as one??
Data=[2, 3, 4, 7,8 9, 10, 20,25,27]; sum = 1; % The first set is counted. for i = 2:length(Data) if Data(...

más de 13 años hace | 0

| aceptada

Respondida
solve return imaginary answer for a problem should have a real solution
What version of MATLAB are you using? On MATLAB R2012a: >> syms x >> f = (3*exp((4*x)/125) - 8*exp((2*x)/25) + 9)/(50*e...

más de 13 años hace | 0

Respondida
Trying to create autocorrelated random series
I would start with creating an AR model whose error terms come from your f(n_samples) function. Estimate the model to create dat...

más de 13 años hace | 0

Respondida
how to solve differential equations
You can start with ODE45, look through the following page for information on how to set up you system: http://www.mathworks.c...

más de 13 años hace | 0

| aceptada

Respondida
Finding operating points w. R2012b
I believe the functions you mention are part of a product called Simulink Control Design (different from control systems toolbox...

más de 13 años hace | 1

| aceptada

Respondida
Problems with contour function: it doesn't work even matlab's examples
Are you sure you are not using 'contours' instead of 'contour'. The error message you mentioned is part of 'contours.m' and not ...

más de 13 años hace | 0

| aceptada

Respondida
vector with floating point values
The default display format is 'short' Since you already have data with 5 decimal place in your file, you can just read it and a...

más de 13 años hace | 0

| aceptada

Respondida
How to set global options?
For a global variable to enter the scope of any given workspace you will have to call global var_name again. This will tell MATL...

más de 13 años hace | 0

| aceptada

Respondida
Error using fminbnd function
Since you have created your objective function using symbolic variables, you need to convert them to function handles before you...

más de 13 años hace | 0

| aceptada

Respondida
Histc function, bin edges error
I think you want to make sure that everything is a row vector or every thing is a column vector. x = 110:10:220; [y2,x...

más de 13 años hace | 0

| aceptada

Cargar más