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

12 years ago | 0

| accepted

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

12 years ago | 1

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

| accepted

Answered
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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 1

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

12 years ago | 1

| accepted

Answered
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?

12 years ago | 1

| accepted

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

12 years ago | 0

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

12 years ago | 1

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 1

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 2

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 5

| accepted

Load more