Answered
I have 4GB ram installed on my laptop but the matlab shows only 2GB RAM why?
Are you using the 32-bit version of MATLAB? The limitation on how much memory you can access in a 32-bit application is much low...

6 years ago | 0

Answered
Forward and backward substitution of triangular matricies
function x=myForwardSubstitution(L,b) d=size(L,1); L=[1,0;1,1]; You define d using the L matrix with which the user of...

6 years ago | 0

Answered
how to resolve and the reason the 'dot indexing not supported for this type of variable' error?
filePattern isn't a struct array, it's a char array. You want to loop over elements of srcFiles (the output of dir is a struct ...

6 years ago | 1

Answered
Does imsegkmeans2 exist? If so, where is documentation on it?
That looks to me like a typo (I think it should be imsegkmeans3) in that Note. I'll report that to the documentation staff.

6 years ago | 0

| accepted

Answered
Create Incidence matrix from Graph theory?
The incidence matrix you posted in your comment on Binbin Qi's answer is not the correct incidence matrix for the digraph you pr...

6 years ago | 1

Answered
MATLAB 2020b does not reload .m file edited outside of matlab until after running
Release R2020b has not been released yet, so I suspect you're using the Prerelease of R2020b. Please send questions or feedback ...

6 years ago | 0

Answered
How to set colorspace of line in special code of graph?
There's no need to create additional lines to change the colors of lines in a GraphPlot. highlight them instead. % Create graph...

6 years ago | 1

| accepted

Answered
Histogram won't plot decimals
What does this command display? class([a(1:135756).column4]) My guess is that it will probably display something like char or ...

6 years ago | 1

| accepted

Answered
How to avoid running superclass constructor?
You cannot avoid the superclass constructor being called (explicitly or implicitly) from the subclass constructor. From the docu...

6 years ago | 1

| accepted

Answered
How to normalize rows of a matrix?
Are you required to use a loop? If not, take a look at the normalize function.

6 years ago | 0

Answered
Error while calling function from another function
What is your crcData? I suspect it is either a double array that is not a scalar or an array of an integer type that is not uint...

6 years ago | 0

Answered
matlab 2016b update 7 setup failed
Please contact Technical Support using the telephone icon in the upper-right corner of this page. As the message in the installa...

6 years ago | 1

| accepted

Answered
App designer keeps crashing when using debug mode. My computer? Or app designer bugs?
If MATLAB crashes when you are using App Designer, please send those crash log files to MathWorks for investigation. You can sen...

6 years ago | 0

Answered
Raise a scalar to a descending series of powers in an array
Your 0.8^1:3 example doesn't do what you think it does. >> x1 = 0.8^1:3 >> x2 = [0.8^1 0.8^2 0.8^3] x1 = ...

6 years ago | 1

Answered
Room Assignment Optimisation Problem
I'd first try using the matchpairs function.

6 years ago | 0

Answered
Maximum recursion limit of 500 reached. ERROR how to SOLVE?
Generally speaking you don't want to call econometricModeler from within econometricModeler.m itself. If you do to implement a r...

6 years ago | 0

Answered
colorbar doesnt work in R2017b
More likely than not you've written or downloaded your own flip.m that does not accept the same number of inputs as the built-in...

6 years ago | 0

| accepted

Answered
Remove underlying graph and eliminate flickering.
Don't keep plotting and deleting graphics objects. I recommend the "Update the properties of a graphics object and display the u...

6 years ago | 0

Answered
rng seed and cvpartition
You're calling rng shuffle on the client, not on the workers. See this documentation page.

6 years ago | 0

Answered
Why do I get incorrect argument when calling "indeces"?
You're missing the equals sign (=) that would assign the result of the computation PSD>35000 to the variable indices, so MATLAB ...

6 years ago | 1

| accepted

Answered
how to automatically identify errors in the output of checkcode
Generally speaking, a Code Analyzer red message (error) will prevent the code from executing. So if you have tests for the larg...

6 years ago | 0

Answered
Bug report for R2020a
I suspect that sample.m file is part of this submission on the File Exchange. A note in the description of that submission state...

6 years ago | 2

Answered
Retrieve actual values from histogram
Do you want the raw data that was used to create the histogram or the probabilities of the bars? In the former case look at the ...

6 years ago | 0

| accepted

Answered
Adding number of seconds from changing base date
You can construct a datetime directly from the number of seconds. From the documentation page for datetime: "t = datetime(X,'Co...

6 years ago | 0

| accepted

Answered
Can 2 students come up with the same codes for a homework assignment
Sometimes the constraints placed on the students as part of the assignment encourage or almost force the result of the assignmen...

6 years ago | 0

Answered
Undefined function 'ne' for input arguments of type 'table'.
If you want the data as a smaller table, index into the larger table with parentheses. Folderlinks=columnData(:,8) % Folderlink...

6 years ago | 0

| accepted

Answered
Why the function that I created won't be called?
From the error message you showed, on line 4 of eegamplitude you're calling relaxed with 0 input arguments and 1 output argument...

6 years ago | 0

| accepted

Answered
Divide timetable into 1s windows
Rather than creating a whole bunch of small timetable arrays, could you instead use a timerange to select the appropriate subset...

6 years ago | 0

Answered
makeDOMCompilable() is not recognized
MATLAB Report Generator not being installed would certainly result in makeDOMCompilable not being available. After you installed...

6 years ago | 0

| accepted

Answered
How can I join two parts of a char into just one?
I would use a string array in this case, not a char array. numfiles = 9; % Lenght parameters step = 0.5; start = 6; final =...

6 years ago | 0

Load more