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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

Risposto
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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 2

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 5

| accettato

Carica altro