Answered
Bicubic interpolation direct interpolation formula Matlab source code
Why not just use |interp2|? The help for the 'cubic' method states: 'cubic' - bicubic interpolation as long as the dat...

8 years ago | 1

Answered
Why somehow my symnbolic function can't work?
See <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-mupad-functions-cause-matlab-to-freeze this Answer>.

8 years ago | 0

| accepted

Answered
How to get ode45 to run at an efficient time scale
Walter identified the reason for the error you posted. To address your complaint about the slow execution of |ode45|, I can't be...

8 years ago | 1

| accepted

Answered
Generalized Iterative Function Building Upon Itself
See the |cumsum| function.

8 years ago | 0

Answered
re. finding perimeter of a 2D shape
Is an alpha value of 2.5 going to be appropriate for all data sets? Probably not. You probably want to use the |criticalAlpha...

8 years ago | 1

Answered
Append the tabelename to a variable name in a table
Have a variable in the combined table named City. Rows in the combined table that came from your New York table would have NY in...

8 years ago | 0

Answered
Rand error in a while loop. Number of elements not matching. Pls help
Let's say that you had a small vector mt_carr. mt_carr = [0 0.25 0.25 0.25]; What's the result of computing the |cumsum|...

8 years ago | 1

| accepted

Answered
"Close" all loops in a script m file
Yes, it is possible to fold all loops in a file. See the "Code Folding" section on <https://www.mathworks.com/help/matlab/matlab...

8 years ago | 0

| accepted

Answered
Converting text to dates with datenum. A problem concerning milliseconds.
Build the |datetime|. T = '20160405 16:00:00:106' fmt = 'yyyyMMdd HH:mm:ss:SSS'; dt = datetime(T, 'InputFormat', fmt)...

8 years ago | 1

| accepted

Answered
How to create a matrix whose elements are function of their indices?
If your generating function uses only functions and/or operations that support implicit expansion, and you're using a release th...

8 years ago | 0

Answered
How to define a variable which won't clear when 'clear' command is used
With 10 inputs and 5-6 outputs, it's probably going to be pretty easy to accidentally omit one or put one in the wrong order. I ...

8 years ago | 2

Answered
Finding the First Dates of each Month
Get today's date as a |datetime|. As I type this it is Wednesday June 13, 2018 here in Natick. dt = datetime('today', 'Form...

8 years ago | 0

Answered
MATLAB stops the entire operating system
Are you using Windows 10 Spring 2018 update? If so see <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-mupa...

8 years ago | 1

| accepted

Answered
How can I "install" a function of file exchange in Matlab?
If you're using release R2015b or later, use the <https://www.mathworks.com/help/matlab/release-notes.html?rntext=add-on+explore...

8 years ago | 2

Answered
In the Cody Coursework platform, there is a built in function called assessVariableEqual. How can I adjust the tolerance of this function?
According to <https://www.mathworks.com/help/coursework/ug/assessvariableequal.html its documentation> you use the 'AbsoluteTole...

8 years ago | 0

| accepted

Answered
Why do i get this error whenever i try to create a "sym"? "The second argument must be positive clear or real"
You meant to use the |syms| function, not the |sym| function, to define your symbolic variables. The extra s is important.

8 years ago | 0

| accepted

Answered
Symbolic math toolbox generacion de pdf
If you want to publish your code without including the code in the published file, change the <https://www.mathworks.com/help/ma...

8 years ago | 1

Answered
WindowScrollwheelFcn in a GUI
Before you tried to set the WindowScrollWheelFcn, did you turn |zoom on|, |pan on|, or |rotate3d on|? See the Tips section of th...

8 years ago | 0

Answered
A logical for/if/while loop
Your outermost |while| loop has condition: while prop_fork_2(i)==0 Where inside the body of the first |while| loop do you...

8 years ago | 0

Answered
I have problems with syms in Matlab 2017b. The computer hangs when using it.
See <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-mupad-functions-cause-matlab-to-freeze this Answer>.

8 years ago | 0

| accepted

Answered
How to fix this code? It doesnt give me an edge from 1 to 2! what is the problem in my code?
You want a |graph| with three nodes and two edges, those edges being (3, 2) and (2, 1)? You can do this with one call to |graph|...

8 years ago | 0

Answered
How to disable GUI M-file with the same name as FIL file
When you save a function file, MATLAB knows the main function in that file by the name of the *file*, not the name in the functi...

8 years ago | 0

| accepted

Answered
how to draw graph in matlab? Using Biograph?
If you're using release R2015b or later, consider using the <https://www.mathworks.com/help/matlab/graph-and-network-algorithms....

8 years ago | 0

| accepted

Answered
Why does GUIDE disassociate the contents of functions?
If you need to rename a GUIDE-generated GUI, you should use the Save As menu item inside GUIDE itself to do so. When you do that...

8 years ago | 1

Answered
Datastore can't convert variable to type double
Look at sheet Sheet4 in the file 'J:\Fixed _Inc\Internal\birtanderin\MS Data\25-35\2007.xlsx'. Does it have something that can't...

8 years ago | 0

Answered
Lists in matlab to store iterative data.
The <https://www.mathworks.com/help/matlab/ref/containers.map.html |containers.Map| object> allows you to store key-value pairs....

8 years ago | 0

Answered
Different line styles in network graph?
One easy way to do this is to |highlight| the edges you want to change. g = graph(bucky); h = plot(g); highlight(h, 4...

8 years ago | 1

| accepted

Answered
Plot only every n'th dot, change from figure menu without extracting the data
If you're using release R2016b or later, use the |findobj| or |findall| functions to find the handle of the object created by |p...

8 years ago | 0

Answered
Why do I get 'Undefined operator '*' for input arguments of type 'matlab.graphics.chart.primitive.Area'.'
What you've written attempts to create a graphics object (a <https://www.mathworks.com/help/matlab/ref/area.html filled 2-D plot...

8 years ago | 0

Answered
why is using y = net(x) and writing the network function generate different result in neural network?
When you construct a network and evaluate or train it using the object, any <https://www.mathworks.com/help/nnet/ug/choose-neura...

8 years ago | 0

Load more