Answered
questions about Pricing a CDS Index Option
Xinping, After looking further, it turns out that the documentation page is, indeed, incorrect in that the pre-computed RPV01...

5 years ago | 1

Answered
Poor Matlab performance in lenovo yoga 2 pro (i7 2.6 Ghz 8GB RAM Windows 8.1)
Being below the Windows XP machine in the benchmark does not mean that your machine has poor performance. Some algorithms cannot...

5 years ago | 1

Answered
Good license manager tools/techniques for custom toolboxes?
There is currently no off-the-shelf functionality in MATLAB to add a licensing procedure to a custom toolbox. However, there are...

5 years ago | 1

Answered
Printing Figures Very Slow 2014b vs 2013b
Hi Robert, Thanks for your feedback. I forwarded your message to the development team in charge of the |print| function. This...

5 years ago | 1

| accepted

Answered
How to include manual click control in imaging algorithm?
You can use <http://www.mathworks.com/help/matlab/ref/ginput.html |ginput|> to select a pixel from an image displayed in an |axe...

5 years ago | 1

Answered
How to differentiate, then define a variable and integrate with respect to a different variable?
I wrote a small example below and everything seems to work fine. 1. Define the function Psi syms y Psi(y) = 1 + y...

5 years ago | 2

| accepted

Answered
Jacobi iterative method in matlab
*1. Some feedback about your code* It's good practice to pre-allocate memory before a |for| loop. This is actually what Code ...

5 years ago | 6

Answered
What is the default figure font in Matlab 2014b?
The default font should be Helvetica. You can check that before printing the figure to an EPS file using: >> get(gca, 'Font...

5 years ago | 2

Answered
Decision Tree CrossValidation Error of .07 How to determine if acceptable??
Cross validation is a technique to assess how well a predictor can generalize to new data. The lower the cross validation error,...

5 years ago | 1

| accepted

Answered
How to use multiple bpipe servers?
Hi Rajesh, You're right, <http://www.mathworks.com/help/datafeed/bpipe.html |bpipe|> can only open one connection at a time. ...

5 years ago | 1

Answered
How do you write a pde func for a variable v in matlab, where the v is experimental data that are to be fit in a pde function to extrapolate the data. fro a longer time.?
Dinesh, Are you trying to simulate the evolution of a differential equation? Are you trying to solve the equation? The dif...

5 years ago | 2

| accepted

Answered
matlabFunction, using symbolic variables and if statements
Hi Pascale, The |matlabFunction| function should be used on a symbolic expression or function. For example: syms x y ...

5 years ago | 1

| accepted

Answered
How to detect red objects from a video and also find its centroid. I have written code for it but i am getting error
I would recommend to do some color thresholding to isolate the red objects. Image Processing Toolbox has a useful Color Threshol...

5 years ago | 2

Answered
Automatically Generate Mex File
Moshe, No, it's unfortunately not possible and I am now aware of a utility that creates a MEX wrapper automatically from C++ ...

5 years ago | 1

| accepted

Answered
MatLab Question Loading and Plotting Data?
To import data from a file the easiest way is to use the Import Tool. The Import Tool will let you choose the format of the data...

5 years ago | 1

Answered
What is this error in Script file?
This error usually occur when there is a space in an M-file, or other forbidden characters. Check that the script file containin...

5 years ago | 6

| accepted

Answered
How to change the contour discretization in ezcontourf
The contour graphics object will be a child of the axes. You can get the children of the axes with: >> children = get(gca,'C...

5 years ago | 2

Answered
Is there any way to zoom on surf() in the limits of an uipanel ;;;
No, that's a known problem that should be fixed in the next version, MATLAB R2014b.

5 years ago | 1

Answered
Writing EXIF data to JPG
No, unfortunately, there is currently no off-the-shelf functionality to write EXIF data to an image file in MATLAB. You can only...

5 years ago | 3

Answered
how to segment image based on active contour model?
I am not sure what you mean by segmentation based on natural and texture features but there is a function called <http://www.mat...

5 years ago | 2

Answered
How to make my window close on a timer
>> f = figure; >> t = timer('ExecutionMode','singleShot','StartDelay',20,'TimerFcn',@(~,~)close(f)); >> start(t)

5 years ago | 3

Answered
Using system on MAC
Are you using Mac OS X 10.10 Yosemite? MATLAB is not supported on Yosemite yet. The workaround is to to launch via the sta...

5 years ago | 1

Answered
MuPAD "Cannot start engine" issues.
Check out this solution: <http://www.mathworks.com/matlabcentral/answers/101940-why-do-i-receive-the-error-cannot-start-engin...

5 years ago | 1

Answered
What is the best book/online reference to learn matlab mapping toolbox
The documentation is well written and should be enough. It contains a lot of examples and tutorials to get you started: <http...

5 years ago | 1

Answered
Nonlinear Constraints with gamultiobj
|gamultiobj| does not allow nonlinear constraints. Depending on your problem you might want to consider other solvers. For ex...

6 years ago | 1

Answered
Why Saveas appaer a error sometimes
Can you try with something more simple, like savesas(gcf, 'myfigure.fig') ? Does the figure save correctly if you do ...

6 years ago | 1

Answered
problem with making mex file
If this is the first time you're using |mex| you'll have to choose a compiler before being able to use it: >> mex -setup ...

6 years ago | 1

Answered
What does the function 'norm' do?
The second input argument of the "norm" function specifies the order of the norm you would like to use. The default norm is the ...

6 years ago | 4

Answered
Can't find the SimPowerSystem Library
Type |ver| in the Command Window to list the products available with your installation. If you don't see "SimPowerSystems," then...

6 years ago | 1

Answered
Segmentation error in mex file
My intuition tells me that you get this error when you try to access |temp[20]|. You allocate an array |temp| of only 20 char, b...

6 years ago | 2

Load more