Beantwortet
Linking MATLAB and C++
They work in different directions: MEX is to call C++ code from the MATLAB environment. http://www.mathworks.com/help/matl...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
can matlab generate transfer function automatically??
MATLAB may not be able to read "bunch of code" to give you a transfer function but if you have input and output data from the sy...

etwa 13 Jahre vor | 1

Beantwortet
Why curve fitting options give two diffrent results
Your results will be sensitive to starting point. As long as you use the same equation and a close enough starting point you mus...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Comparison of the mode of lognormal distributions
If you'd like to compare distribution you can use LILLIETEST or KSTEST http://www.mathworks.com/help/stats/lillietest.html ...

etwa 13 Jahre vor | 0

Beantwortet
How to clear column and row
A = randn(10); % Example random 10x10 matrix i = 5; j = 4; A(:,i) = []; A(j,:) = []; This will remove them ...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
plot for fmincon with multiple value of parameter
I posted the answer in your previous questions here: http://www.mathworks.com/matlabcentral/answers/81400#answer_91134

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
how to fit dividend yield and use obtained function in an integral
Use FIT from the curve fitting toolbox to fit a spline: http://www.mathworks.com/help/curvefit/fit.html Scroll down for sp...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
fmincon with 2 decision variables and multiple value of one parameter in the model
You are doing a parameter sweep. Run fmincon in a loop for the specified m for m=2:0.2:3 fmincon(@(x)obj(x,m),x0,....

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Parallel computing in a multicore processor.
You may benefit more from using SPMD (single program multiple data) instead of parfor. There are several advantages to using SPM...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
How do you import time and date data into matlab?
Use importdata or xlsread to pull data in. You can also use the import button on the tool strip if you are using a version of MA...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
How do you create a second axis on your plot?
You are looking for plotyy http://www.mathworks.com/help/matlab/ref/plotyy.html

etwa 13 Jahre vor | 1

Beantwortet
Fitting two data sets with different equation but same parameters
Jennifer, essentially you are solving a system of equations. Do you have the optimization toolbox? If you do then you can solve...

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
Print option does not save the figure correctly
What is the version of MATLAB you are using? Can you post the image? or give some reproduction code?

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
How ga (Genetic Algorithm) in MATLAB works when encountering equality constraints?
Workings of GA are discussed here: http://www.mathworks.com/help/gads/how-the-genetic-algorithm-works.html http://www.math...

etwa 13 Jahre vor | 0

Beantwortet
MATLAB Frozen on Mac OS 10.6.8
The issue you are seeing is related Mac Java update bug. Please see here for the resolution: http://www.mathworks.com/matlabc...

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
Matlab code for VECM-Garch
The garch framework in the Econometrics Toolbox currently does not support multivariate garch models. However there is support f...

etwa 13 Jahre vor | 0

Beantwortet
How can I find out why my model is so slow?
Take a look at the simulink profiler. The following link has examples and how-to on how to go about improving performance of you...

etwa 13 Jahre vor | 0

Beantwortet
Matlab (Mac) suddenly not working on startup
I think this may be the mac java update bug: http://www.mathworks.com/matlabcentral/answers/79489-java-1-6-0_51-breaks-matlab...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Xlswrite catching an error (Error: Call was rejected by the callee)
This seems to be an error on the Excel side. xlswrite relies on Excel to push data into an excel file and uses the COM interface...

etwa 13 Jahre vor | 0

Beantwortet
Choosing a web platform
I can't comment much on the server side but MATLAB is buddies with both .NET and Java. With Builder NE you can deploy MATLAB ...

etwa 13 Jahre vor | 0

Beantwortet
how can I fit a curve in bode digram?
if you have the transfer function then all you need to do to get the curve is call the bode function: http://www.mathworks.co...

etwa 13 Jahre vor | 0

Beantwortet
how to generate a gaussion distribution using random number generator.
How do you expect to visualize -Infinity to +Infinity? The probability from 4 sigma to infinity is practically zero: Don't run...

etwa 13 Jahre vor | 0

Beantwortet
What would you do?
Don't use eval - EVER! There is a whole documentation page that should answer 'why?' http://www.mathworks.com/help/matlab/...

etwa 13 Jahre vor | 1

Beantwortet
How can I estimate the probabiltiy of intraday price movements?
Looks like you may be interested in Transition Probabilities, but I may be wrong. http://www.mathworks.com/help/finance/trans...

etwa 13 Jahre vor | 0

Beantwortet
location of file created by fopen command
It will be in the current folder. >> pwd Also >> which -all test1.dump

etwa 13 Jahre vor | 0

Beantwortet
why exp(a*t) is not equal to ilaplace ((s*i-a)^-1) in matlab
The matrix exponential e^At = L^-1 {(sI-A)^-1} This does not mean you can just take exp of each of the elements of the matri...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
symbolic integral inside a numerical one. How to program it?
If you are deriving a(u) and b(s) symbolically then you will need to convert them into matlab functions before you use them for ...

etwa 13 Jahre vor | 2

| akzeptiert

Beantwortet
Matlab's MultiStart runs fine, but GlobalSearch bugs out
Can you confirm that the objective function: h does not return Inf or NaN during its evaluations for all w? Also in MultiSta...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
help with the error
You either: 1) Don't have the Econometrics Toolbox installed. Check the output of VER: >> ver 2) Are using a version ...

etwa 13 Jahre vor | 0

Beantwortet
how to get name of a function (within the function)
Inside the function call the following: st = dbstack; namestr = st.name

etwa 13 Jahre vor | 5

| akzeptiert

Mehr laden