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

Answered
Why is R2020a slow to return errors?
Do you have any network directories on your MATLAB path? If MATLAB has to search those network directories to determine if there...

6 years ago | 0

| accepted

Answered
duration of free trial
The trial request page (linked at the end of this page, in the "Try or Buy" section) states "Get Started Now with your Free 30-D...

6 years ago | 0

| accepted

Answered
what is the inside program / function of rmoutlier? how rmoutlier inbuilt function will work? why cant we write a program without using rmoutlier function?
We don't distribute the source code for the undocumented helper function that rmoutliers uses. [Note the extra s in the name; th...

6 years ago | 0

| accepted

Answered
The imshow() function is not working with .mat file
When you call load with an output argument, any variables stored in that MAT-file becomes fields in the struct array returned fr...

6 years ago | 2

| accepted

Answered
crc16 checksum in matlab
See <https://www.mathworks.com/help/matlab/matlab_prog/perform-cyclic-redundancy-check.html this documentation example>.

6 years ago | 0

Answered
i have downloaded ANN toolbox and i cant open the file emran8.mexw32 please help me
A file with the mexw32 extension is intended to be used in a 32-bit version of MATLAB on a 32-bit version of Windows. The last 3...

6 years ago | 0

Answered
histogram returns an error for vector data
You can't create a histogram from double data in an axes in which you've already plotted datetime X data. v = 0:5; t = datetim...

6 years ago | 0

Answered
Difference between deployed mode or MATLAB mode?
From the documentation page "If you include this function in an application and compile the application, the function will retur...

6 years ago | 1

| accepted

Answered
How to avoid converting a great number of datenum values into datetime for tick labels?
I would like to have date values on the x-axis, but converting datenum values to datetime takes a lot of time. How are you perf...

6 years ago | 0

Load more