Answered
fzero line 398 error; debugger not solving...
What requirement does <https://www.mathworks.com/help/matlab/ref/fzero.html |fzero|> impose on the function you pass to it? _...

8 years ago | 1

| accepted

Answered
Large number of internal Matlab error messages for zoom and other figure post-processing options
Did the toolbox\matlab\graphics subdirectory get removed from your MATLAB path somehow? To check this, let's look for another fu...

8 years ago | 0

Answered
How can you create a metric using ones, zeros, eye
So you've created an A matrix of the correct size, but without the elements filled in. Now create matrices that represent the da...

8 years ago | 0

Answered
how to change the name "nz" in the x axis of the funcion spy?
That's just the |xlabel| of the axes. >> B = bucky; >> spy(B); >> xlabel(sprintf('Number of nonzero elements: %d', nn...

8 years ago | 0

| accepted

Answered
Dynamically change FaceVertexCData of a patch
What is the value of your patch's <https://www.mathworks.com/help/matlab/ref/matlab.graphics.primitive.patch-properties.html?sea...

8 years ago | 0

Answered
Transfer account on my retirement
Use the steps given in the "To Add Administrators" workflow in <https://www.mathworks.com/matlabcentral/answers/101101-how-do-i-...

8 years ago | 1

Answered
how to solve the error array indices must be positive indices or logical values.
If that section of code is intended to check that the file has the extension db, instead call <https://www.mathworks.com/help/ma...

8 years ago | 0

Answered
I cant use audiowrite function in MATAB R2016a
Do you have write permissions for your current directory when you try to execute that command? One way to test this is to try...

8 years ago | 0

Answered
Cogent and Matlab student version
I assume when you say "Cogent Graphics toolbox" you're referring to the third-part toolbox available from <http://www.vislab.ucl...

8 years ago | 1

Answered
Function definition not supported in this context. Create functions in code file.
When I Smart Indent your code, I see that the function definition is inside both a |for| loop and an |if| statement. That is not...

8 years ago | 5

| accepted

Answered
Why wont MATLAB 2018b Academic-use won't display RUN button?
Your file's name is test. It does not have the .m extension, so it is not a MATLAB program file and MATLAB cannot run it. If you...

8 years ago | 3

Answered
Return function the same as the inputs.
Your nurbs variable is a scalar |struct| array. If you want it to be a non-scalar |struct| array (of size [1 126]) we can do tha...

8 years ago | 0

| accepted

Answered
Unix-time-line, start with zero for plotting
What do you consider zero for this application? 00:00:00 UTC on Thursday, 1 January 1970? 00.00.000 on the date on which all of ...

8 years ago | 0

Answered
Cannot figure out what went wrong
Count your parentheses.

8 years ago | 1

| accepted

Answered
How to generate a vector of character values?
Does it have to be a |char| vector, or is a |string| vector acceptable? N = 42; S = string(1:N)

8 years ago | 1

Answered
accessing global vars in functions in parfor loops
See Edric's answer to <https://www.mathworks.com/matlabcentral/answers/33344-does-parfor-support-global-variables this question>...

8 years ago | 1

Answered
Function subsindex is not defined for values of class 'mlreportgen.dom.Image'
You likely have a variable named TableEntry. You may have intended your command "entry=TableEntry(bojack)" to create an instance...

8 years ago | 0

| accepted

Answered
How do I create a copy of ode15s that runs.
The ODE solvers use some <https://www.mathworks.com/help/matlab/matlab_prog/private-functions.html _private_ helpers>, like |ode...

8 years ago | 0

Answered
how can i measure the number of execution of code in the Matlab function?
Use the <https://www.mathworks.com/help/matlab/matlab_prog/profiling-for-improving-performance.html Profiler>.

8 years ago | 0

| accepted

Answered
As an Automobile engineer, what are the things I need to know in simulink?
Your question is extremely general, so it's hard to give a specific answer. One resource that may help give you some topics to e...

8 years ago | 1

Answered
How to do pivot from table-type variable
The output you described looks somewhat like the first example in the documentation for the <https://www.mathworks.com/help/matl...

8 years ago | 1

| accepted

Answered
Is there a way to execute multiple functions in Matlab at a specific time ???
Use <https://www.mathworks.com/help/matlab/ref/timer-class.html |timer|> objects.

8 years ago | 0

Answered
Plot did not work
The output from |fopen| is not the data stored in the file. It is a file identifier that you can pass into other functions to al...

8 years ago | 1

Answered
working with classes and packages, can I have one main folder?
Putting classes in directories whose names start with the @ symbol is not always required. Classes using the older class system ...

8 years ago | 2

| accepted

Answered
Substitute out anonymous function
It is possible to obtain information about the values used to create the anonymous function _for debugging purposes_, but you sh...

8 years ago | 1

| accepted

Answered
How can I get old missing DLLs?
Please send this question to Technical Support directly using the Contact Us link in the upper-right corner of this page.

8 years ago | 0

Answered
while downloading the trial version, there is no option for 32 bit Os package for windows
The last release supporting 32-bit Windows operating systems was release R2015b, as stated in the <https://www.mathworks.com/sup...

8 years ago | 0

Answered
Help with conditional statement
If I understand correctly what you want to do, you want to rename one of the variables in your |table|. Is that correct? If so y...

8 years ago | 0

Answered
variable mass matrix in ode
Use <https://www.mathworks.com/help/matlab/ref/odeset.html |odeset|> to create an options structure where the 'Mass' option is s...

8 years ago | 1

| accepted

Answered
How to omit repeated element in matrix
From your description if I had to guess I'd guess you wanted to remove all the cycles in your |graph|, leaving just a tree behin...

8 years ago | 0

Load more