Answered
How Ican I get simplify value of given matrix A.
Since I expect that is the result of symbolic calculations (using |syms| and |subs|, I would guess) call |double| or |vpa| on A....

8 years ago | 0

Answered
imagesc does not take an axis handle as its first argument even if it should
Look at the variable ax. >> fig = figure; ax = fig.CurrentAxes ax = 0×0 empty GraphicsPlaceholder array...

8 years ago | 2

| accepted

Answered
Problem with intrinsic functions?
Make sure that you haven't written your own functions with names that match those included in MATLAB. From that line of code in ...

8 years ago | 0

Answered
Categorise and sort an histogram
The options listed on the documentation page to which you linked that allow you to control how a categorical |histogram| orders ...

8 years ago | 0

Answered
Cellfun, too many output arguments (2014b)
That first call attempts to call the |disp| function with 0 input arguments and 1 output argument, then pass the output argument...

8 years ago | 0

| accepted

Answered
Refactor a huge Switch Statement (1400 lines of Code)
Instead of using |ismember| or a |struct| filled with function handles, I would move the code inside each of your |case| stateme...

8 years ago | 3

Answered
Where can I download EvaMapper
Searching Google for "Evamapper MATLAB" found this message as the first hit. The third and fourth included a link to a paper des...

8 years ago | 0

Answered
Where do I find files for simulink tutorials?
I believe that documentation page and the model it uses were added to demonstrate the <https://www.mathworks.com/help/simulink/r...

8 years ago | 1

Answered
Figure of screen size
If you're using release R2018a or later, use the <https://www.mathworks.com/help/matlab/release-notes.html?rntext=maximize&start...

8 years ago | 0

Answered
How do you set rng once and for all so that it is restored everytime random numbers needs to be generated?
On a not-so-serious note, replace your |rand| call with <http://dilbert.com/strip/2001-10-25 |dilbertRand|> or <https://xkcd.com...

8 years ago | 1

Answered
How to delete 'mat 'files
delete(any(size(dir(['DataPath/*.mat' ]),1))) I would be extremely surprised (stunned) if that worked. The |any| function ...

8 years ago | 0

Answered
Scatter 3D Plot with Varying Colors
When I modified the "Vary Marker Color" example from the <https://www.mathworks.com/help/matlab/ref/scatter3.html |scatter3| doc...

8 years ago | 0

| accepted

Answered
I made a plot and the markers are really ugly, does anyone know why my plot is doing this? (see plot below)
What changed about your system between the last time the markers looked "normal" and the first time they looked "bad"? Did you i...

8 years ago | 0

Answered
10>6>4
Type the following into the MATLAB Editor: y = 10>6>4; The number 6 is underlined in orange. Hover over the number 6 to ...

8 years ago | 0

Answered
Error in color/linetype argument
Depending on the release you're using, I recommend using |string| arrays instead. colors = ["m", "b", "r", "g", "c", "k", "...

8 years ago | 1

Answered
access to element of variable in ode
If the differential equation you're solving includes a reference to the value of a component of the solution at an earlier time,...

8 years ago | 0

Answered
How to sum by identifier
Use <https://www.mathworks.com/help/matlab/ref/groupsummary.html |groupsummary|> with A as the grouping variable.

8 years ago | 0

| accepted

Answered
addition of two arrays element by element creating matrix
See the last example on <https://www.mathworks.com/help/matlab/matlab_prog/compatible-array-sizes-for-basic-operations.html this...

8 years ago | 0

Answered
How to properly use the WindowAPI?
This was tagged "maximize" and "fullscreen". If that's the only reason you need to use this File Exchange submission, it is poss...

8 years ago | 0

| accepted

Answered
Help preallocating variables for a table
I think you want to use the |T = table('Size',sz,'VariableTypes',varTypes)| syntax shown on the <https://www.mathworks.com/help/...

8 years ago | 0

Answered
Append data to matfile using parallel method
Consider writing each variable to a different file in such a way that when you want to use them later on you can construct a <ht...

8 years ago | 0

Answered
How do I populate a 100 x 100 [A] matrix given rules seen below? Then use spy(A) to show non-zero entries?
If you want this to be a |sparse| matrix, see the second example on the documentation page for the <https://www.mathworks.com/he...

8 years ago | 1

Answered
Nested if in a for loop won't work
The x variable is a vector. &nbsp; I'm not certain what you expected your line of code "for ii=0:x" to do, but when you ca...

8 years ago | 2

Answered
using 'line' command to create a triangular mesh
Use the |trimesh| function.

8 years ago | 0

Answered
Undefined function or variable 'retime'
In addition to the other suggestions you've already been given, check whether the TT variable is a |timetable| (for which |retim...

8 years ago | 0

Answered
Is there a list of C MX Functions ? (Matlab API)
Take a look at the version of <https://www.mathworks.com/help/matlab/programming-interfaces-for-external-languages.html this doc...

8 years ago | 0

Answered
How can i change the names of default column headers in timeseries object?
If you're using release R2016b or later I recommend using a <https://www.mathworks.com/help/matlab/ref/timetable.html |timetable...

8 years ago | 0

Answered
digraph plot bug in 2018a?
What does this show? which -all strncmpi My suspicion is that it will show that you're calling a version of |strncmpi| o...

8 years ago | 1

| accepted

Answered
Two Loops versus One Combined Performance Time?
It depends a lot on what "do sth" and "do sth else" are. Picture "do sth" as "if the file doesn't exist, create it" and "do s...

8 years ago | 0

Answered
How to define a 100 x 100 square matrix A and column vector B with Gauss-Seidel and A/b construct
The easiest way? Preallocate A using the |eye| function so it is the correct size, then use a |for| loop to complete filling in ...

8 years ago | 0

Load more