Answered
Matlab Coder and fminsearch
Which release of MATLAB are you using? If you're using a release prior to release R2014a <https://www.mathworks.com/help/coder/r...

8 years ago | 0

Answered
What is the earliiest version of matlab incorporates the Artificial nueral network toolbox?.
Neural Network Toolbox did exist in release R2012a, yes. There have been six years worth of releases since then, and in those si...

8 years ago | 0

Answered
How to divide 2 decimal and 3 decimal number in live script ?In command window its not a problem.
Don't read the numbers in as text, read them in as numbers. Eliminate the 's' parameter from your calls to |input|.

8 years ago | 0

Answered
Illegal use of reserved keyword
This looks like a portion of an App Designer app, and if it is that is indeed a |classdef| file. Looking at the |end| keywords, ...

8 years ago | 0

| accepted

Answered
Calculate the local maxima and plot it on the histogram
If you're using release R2017b or later, use <https://www.mathworks.com/help/matlab/ref/islocalmax.html |islocalmax|> to identif...

8 years ago | 1

Answered
How to convert .m file to .exe file?
Does your GUI use |uiwait| or |waitfor| to pause execution until the GUI is closed? If it does not, I believe what's happening i...

8 years ago | 0

| accepted

Answered
I have problems with the financial toolbox, It does not recognize the function displayportfolio
If you're referring to <https://www.mathworks.com/examples/finance/mw/finance-ex13658279-portfolio-optimization-examples this ex...

8 years ago | 1

| accepted

Answered
Trying to Download Matlab
Right now the <http://status.mathworks.com/ status page> says: "Product downloads are currently not available. Reported: 1...

8 years ago | 0

Answered
Error while calling a function a class
" a.pull_arm();" is equivalent to "pull_arm(a);". [There could be a difference if your method accepted two inputs, but for this ...

8 years ago | 2

| accepted

Answered
i cant seem to write this function in matlab
f=@(x)exp(-(x-6).^2)-(x.^2).*cos(x)/(x.^2)+1 Let's look at a piece of your anonymous function in isolation along with a vari...

8 years ago | 0

Answered
Hi everyone! I need help!
Are you trying to compute the |histogram| of the elements in that array? If so take a look at the |histogram| function (or the |...

8 years ago | 0

Answered
extractBefore function not giving correct answer.
So at iteration n you want the first n characters from the text? If you're using a |char| vector, just use indexing. word =...

8 years ago | 1

Answered
Is it possible to remove only specific tick mark(s) while keeping tick labels?
You can, but if you've customized the labels it's a bit trickier. Ideally you want to change the XTick and XTickLabel properties...

8 years ago | 0

Answered
How can I check existence of a variable in matlab app designer?
The expression "app.x" is not a variable name. In this context it is an expression referring to the property x of an object stor...

8 years ago | 4

Answered
How to insert the feedback loop that gets called every time sample in to the ode45.
Do you really have an _ordinary_ differential equation (ODE)? It sounds like you may have a _delay_ differential equation (DDE) ...

8 years ago | 0

| accepted

Answered
Matlab Question regarding the correct use of contourf
When you call |contourf| with one input before the number of contours to plot, like |contour| MATLAB will use the indices as the...

8 years ago | 0

Answered
Performance Problem in Simulink (why is it slower than matlab?)
Which <https://www.mathworks.com/help/simulink/ug/types-of-solvers.html solver did you use> when you simulated your system? Did ...

8 years ago | 1

Answered
why a model developed with simulink R2017b doesn't work with simulink R2018?
Try running <https://www.mathworks.com/help/simulink/ug/consult-the-upgrade-advisor.html the upgrade advisor> on your model in r...

8 years ago | 0

| accepted

Answered
please would you change this python program to matlab ?
Do you need to _convert_ the program or do you just need to _use_ the program? If using this Python program is sufficient, you m...

8 years ago | 0

Answered
3D or 2D representation of a linear equation with 21 or more variables
If you have Statistics and Machine Learning Toolbox, you may be able to get a sense of the way the surface looks using the <http...

8 years ago | 1

| accepted

Answered
Marking highlighted data points with text on a scatter plot
Use the |text| function.

8 years ago | 0

Answered
I need English handwritten recognition (OCR)
If you have Computer Vision System Toolbox installed, see <https://www.mathworks.com/help/vision/optical-character-recognition-o...

8 years ago | 0

Answered
Error message from integral calculation
You want to integrate with respect to x, not with respect to your parameters. See the "Parameterized Function" example on the <h...

8 years ago | 0

Answered
square matrix with elements as functions to call in a loop
Make A a cell array containing function handles. A = {@sin, @(x) x.^2}; A{2}(1:10) Or make A a function handle that r...

8 years ago | 0

| accepted

Answered
Script doesn't have access to local functions
That was specifically mentioned in the <https://www.mathworks.com/help/matlab/release-notes.html?rntext=%22Visibility+of+local+f...

8 years ago | 3

| accepted

Answered
Why am I getting negative zero as an eigen value while using the 'eig' function?
Change your <https://www.mathworks.com/help/matlab/ref/format.html display |format|> and you'll see that the third element of th...

8 years ago | 0

| accepted

Answered
Is it an integer value?
The |isinteger| function checks if the *class* of the value is one of the eight integer types, not if the *value* is an integer ...

8 years ago | 1

Answered
Please what's the meaning of the error code: datatools/workspacebrowser_matlab_common_1517894959.enc:
The error message should have asked you if you wanted to retry installing datatools/workspacebrowser_matlab_common_1517894959.en...

8 years ago | 0

Answered
"No public property string exists for class matlab.ui.control.UIControl."
When using the _object.propertyname_ syntax to set or query property names of a Handle Graphics object _object_, _propertyname_ ...

8 years ago | 0

Load more