Answered
Why can't I access orders function in trading toolbox?
Searching the documentation for the current release I found two different versions of the |orders| function in Trading Toolbox. ...

8 years ago | 0

Answered
What is the function for receiving a vector that will contain the elements of the second diagonal?
From the documentation for |diag|: "x = diag(A,k) returns a column vector of the elements on the kth diagonal of A." and "k=0 re...

8 years ago | 0

Answered
how to slove Function definitions are not permitted in this context?
The ability to create scripts containing local functions was introduced in <https://www.mathworks.com/help/matlab/release-notes....

8 years ago | 0

Answered
changing format of number displayed on figure
The |format| function affects only how numeric arrays are displayed in the Command Window. To affect how they are written to a c...

8 years ago | 0

| accepted

Answered
can u give me mat lab code for dtw algorithm
Did you mean dynamic time warping? There's a function in <https://www.mathworks.com/help/signal/ref/dtw.html Signal Processing T...

8 years ago | 0

Answered
Refitting points to nearest polygon
Are you representing your polygons as a |polyshape| array? |polyshape| was introduced in release R2017b. If you are, you could t...

8 years ago | 0

| accepted

Answered
please help : Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier : Error in Untitled (line 9) fprintf(fid1,'tables\n');
Call |fopen| with two outputs. If the first output is -1, |fopen| was not able to open the file and you should read the message ...

8 years ago | 0

Answered
how to do Polar plot?
If you want to create a polar plot, use the |polarplot| function introduced in release R2016a. It doesn't look exactly like the ...

8 years ago | 0

| accepted

Answered
how to create a graph representing polygons as vertices and adjacent polygons are represent by an edge between nodes
In what form are your polygons stored in MATLAB? If they are stored as a |polyshape| array, you may be able to use the approach ...

8 years ago | 0

Answered
Error calling global variable in function
You must declare a |global| variable as global in any function workspace in which you want to access it. So inside root2d you wo...

8 years ago | 2

Answered
Licensing error -4,132
From the text of the error message, your license only allows a certain number of users to use Image Processing Toolbox simultane...

8 years ago | 0

Answered
how to find symprod for double type values if i take it as seperate function. I am getting this error Undefined function 'symprod' for input arguments of type 'double'. Error in practise (line 5) y=symprod(x,j,1,3);
You want to compute the product of the elements of x? If that's the case, don't use |symprod|. There are no symbolic calculation...

8 years ago | 0

Answered
Undefined function or method 'mrdivide'
I think Stephen's suspicion that A is a |cell| array is correct. To confirm this, add this line immediately after the line where...

8 years ago | 0

Answered
Plot the histocounts2 results into a joint probability scatter.
If you're using release R2017a or later, use <https://www.mathworks.com/help/matlab/ref/heatmap.html |heatmap|>.

8 years ago | 0

Answered
Error using zeros Out of memory. Type HELP MEMORY for your options.
Do you really want a matrix with 37901 rows and 37901 columns, which is what the command you tried to run will create? That woul...

8 years ago | 0

Answered
Capture return of Sum() directly in to variables
The |size| function has been implemented so it can return one output or multiple outputs. The |sum| function has not. But eve...

8 years ago | 0

| accepted

Answered
Can one dynamically add new keys to a Maps data structure in Matlab?
That should work if you do it as is shown by the last example on the <https://www.mathworks.com/help/matlab/ref/containers.map.h...

8 years ago | 1

Answered
why these errors occurs?
The directories whose paths end in \ja (like toolbox\wavelet\wavelet\ja)should not be on the MATLAB path and should not be your ...

8 years ago | 0

| accepted

Answered
Is there a way to save matlab file with a name given by input?
Use function form, not command form, when you call |save|. See the last entry in the Description section on the <https://www.mat...

8 years ago | 1

| accepted

Answered
How do you put the constant e on matlab
Use the |exp| function.

8 years ago | 1

Answered
Matrix multiplication of Function Handles
You can't multiply function handles. You can multiply the results you receive by evaluating function handles. If you want to ...

8 years ago | 0

Answered
running matlab function multiple times from windows command line
When you say " I am doing that using a matlab script, but the machine crashes due to out of memory error. " do you mean MATLAB c...

8 years ago | 0

Answered
Please I really need help with this thank you. Write a MATLAB program that completes the following tasks:
The first step of your homework instructions say "1. Load the data from the “fuel_totalizer.txt” file into a matrix." What actio...

8 years ago | 0

Answered
using syms with deploytool
As stated on <https://www.mathworks.com/products/ineligible_programs.html this page>, Symbolic Math Toolbox is ineligible for us...

8 years ago | 0

Answered
What version of python is supported by r2017a
The online documentation is for the current release of MATLAB (which is currently release R2018a) and as such may describe funct...

8 years ago | 0

| accepted

Answered
Command shortcuts in matlab2018a?
See <https://www.mathworks.com/matlabcentral/answers/389819-where-have-the-command-shortcuts-gone-in-r2018a?s_tid=answers_rc1-2_...

8 years ago | 0

| accepted

Answered
FullScreen of a Figure with no Borders and Toolbar
As of release R2018a, you can <https://www.mathworks.com/help/matlab/release-notes.html?rntext=maximize&startrelease=R2015b&endr...

8 years ago | 4

Answered
Change code so that it would generate numbers instead of typing them by user(Gauss method)
function C = Gauss1(A,B) A = [ 8 2 5; 1 5 6; 4 5 6] B = [-1; 4; 5] i = 1; % etc. Your function accepts A a...

8 years ago | 0

Answered
How to use ode45
Use the <https://www.mathworks.com/help/matlab/math/solve-nonstiff-odes.html van der Pol example on this documentation page> as ...

8 years ago | 0

Answered
The current directory 'c:\program files\matlab\r2016a\bin' is reserved for MATLAB files. Please change your current directory to a writeable directory outside of the MATLAB installation area. Component: Stateflow | Category: General error
See <https://www.mathworks.com/matlabcentral/answers/281579-how-can-i-solve-this-message-the-current-directory-d-matlap2015-bin-...

8 years ago | 0

| accepted

Load more