답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

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

12년 초과 전 | 0

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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 ...

거의 13년 전 | 2

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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 ...

거의 13년 전 | 0

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

거의 13년 전 | 5

| 수락됨

더 보기