Answered
how to make my own sparse matrices function that works just like "sparse" matlab bulid-in function
As James said this will be a LOT of work. There is a paper from 1991 describing the design and implementation of sparse matrices...

9 years ago | 0

Answered
Undefined function 'replace' for input arguments of type 'char'.
Which release of MATLAB are you using? I suspect you're using a release prior to release R2016b, which is when <https://www.math...

9 years ago | 0

Answered
graphshortestpath function visiting all nodes
So you want the shortest <https://en.wikipedia.org/wiki/Hamiltonian_path Hamiltonian path>? That <https://en.wikipedia.org/wiki/...

9 years ago | 0

Answered
transfer student licence to a new PC
See <https://www.mathworks.com/matlabcentral/answers/142388-how-do-i-transfer-a-student-license-to-a-new-computer this Answer> f...

9 years ago | 0

Answered
If then Statement For Matrix Math
A = 8*ones(4) B = magic(4) X = max(A, B) N = min(A, B) Work with X and N.

9 years ago | 0

Answered
How to acces to the code of a button
How did you create the interface: programmatically, using GUIDE, or using App Designer? Check the appropriate <https://www.mathw...

9 years ago | 0

Answered
Using R2013a version gives this error for imgaborfilt. 'Undefined function 'imgaborfilt' for input arguments of type 'uint8'.Why?
According to the last line of its documentation page, the <https://www.mathworks.com/help/images/ref/imgaborfilt.html |imgaborfi...

9 years ago | 0

Answered
Can I access properties of a class object by using a variable in the call?
So let me make sure I understand what you're trying to do. You have an object that is an instance of a class and a variable that...

9 years ago | 3

| accepted

Answered
Problem of imwrite permission
In general trying to write files in a directory under the MATLAB root directory is probably not a good idea, and in this case th...

9 years ago | 1

| accepted

Answered
Problems using solve and syms when summing over vector: Error using mupadengine/feval
I don't think you need to use |solve| to solve this problem. Since this sounds like it may be a homework assignment I want to gi...

9 years ago | 0

Answered
Hi friends, I have a simulink project to do and I have never used simulink before, so I have no infrastructure. If you help me, i will be happy.
I would recommend starting off by reading through the <https://www.mathworks.com/help/simulink/getting-started-with-simulink.htm...

9 years ago | 0

Answered
integration of a function of two variables in which the limits of integral on one are functions of the other
From <https://www.mathworks.com/help/matlab/ref/integral2.html the documentation page for |integral2|>: "q = integral2(fun,xm...

9 years ago | 0

| accepted

Answered
Matrix Error when trying to do x = A\0
The vector x = [0; 0; 0] is *one* solution to the system A*x = [0; 0; 0] for a 3-by-3 matrix A. It may not be the *only* solutio...

9 years ago | 0

| accepted

Answered
Why is element of matrix not numeric but value of element is?
Whether an array is numeric or not is a function of the _class_ of the array, not the _contents_ of the array. The array T12t...

9 years ago | 1

Answered
What is the clock function?
The documentation page to which you linked is for the Simulink source block, not the function in MATLAB. The documentation for <...

9 years ago | 0

Answered
What is the difference between rnd(s) and rand('state',s)?
See the first section on <https://www.mathworks.com/help/matlab/math/updating-your-random-number-generator-syntax.html this docu...

9 years ago | 1

Answered
How can I put a tab on code?
In the <https://www.mathworks.com/help/matlab/matlab_env/about-editor-debugger-preferences.html Editor/Debugger preferences> des...

9 years ago | 2

| accepted

Answered
How to pass x array (along with some float variables) from Matlab to python, run definition, and return y array back to Matlab?
Are you using release R2014b or later? If so, see <https://www.mathworks.com/help/matlab/release-notes.html?rntext=python&startr...

9 years ago | 0

Answered
See "The filename specified was not found in the MATLAB path." but it is
The problem is not that MATLAB cannot find the |audioread| function. The problem is that MATLAB cannot find the audio file whose...

9 years ago | 1

Answered
whydo i get the error "Undefined variable "matlab"
Please read my response to your answer in <https://www.mathworks.com/matlabcentral/answers/77064-missing-pathdef-m-when-starting...

9 years ago | 0

Answered
If there is a method to define the size of unknown vector x rather than this ???
If you're passing a function handle to costfun into some optimizer, *you* don't have to create x in your code (and you should no...

9 years ago | 0

Answered
image arithmetic result not the same
How many unique values can the results of (b/64)*64 take on? b = intmin('int8'):intmax('int8'); b2 = (b/64); unique(b...

9 years ago | 1

Answered
How can I make an algorithm that can give me the right values for year, month,day ,h,min,s?
If this is NOT a homework assignment and you're using release R2014b or later, just represent your date and time data using <htt...

9 years ago | 0

| accepted

Answered
Struggling to use fzero on this function
You need to tell |fzero| either a starting point or an interval in which you know a zero exists. This means |fzero| needs to be ...

9 years ago | 1

| accepted

Answered
Multiple errors with an integral
The |abs| function is not defined for function handles. You will need to create a new function handle that evaluates your origin...

9 years ago | 0

| accepted

Answered
I want to apply lazy snapping algorithm but I face some error and can'nt understand how to remove it .. anyone can tell me how to solve it .. code is given below (ERROR is :Undefined function or variable 'lazysnapping'.)
According to its <https://www.mathworks.com/help/images/ref/lazysnapping.html documentation page> the |lazysnapping| function wa...

9 years ago | 1

| accepted

Answered
Listen for Changes to Property Values
So you want the rms property to always be the result of calling the rms function on the signal property of your object? In that ...

9 years ago | 0

Answered
Binary tree using structured arrays???Plz help
If you're using release R2015b or later, consider using the <https://www.mathworks.com/help/matlab/graph-and-network-algorithms....

9 years ago | 0

Answered
Matlab drive online is not working? "The service is currently unavailable. Please try again later."
I don't see any outage listed on the <https://blogs.mathworks.com/community/2017/06/16/is-it-just-me-status-anxiety-and-the-appl...

9 years ago | 0

Answered
"tsmovavg not found." - Matlab2016a
Depending what you're trying to do, the <https://www.mathworks.com/help/matlab/ref/movmean.html |movmean| function> introduced i...

9 years ago | 0

Load more