Community Profile

photo

Duncan Lilley

MathWorks

Last seen: 3 days ago Active since 2017

Statistics

All
  • Solver
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Change to code formatting behaviour in editor in R2021b?
Hi Adam, I can see two possible options here: 1. Enable automatic completions for block statements in the preferences. This ca...

1 year ago | 4

| accepted

Answered
How can I calculate the difference between two lines that may consist of NaNs/reoccuring values?
Hello John, There are several things to address here. First, there are a few ways to handle the NaN values. They can eith...

4 years ago | 0

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

5 years ago

Answered
How do I plot convergence in Newton's method to find square root?
If you are trying to plot each stage of Newton's method, here are some suggestions: # In order for multiple plots to display ...

5 years ago | 0

Answered
How to access normalized data values from a normalized heatmap
There is not a direct way to access this normalized data. However, it is relatively straightforward to calculate. Consider the f...

5 years ago | 0

| accepted

Answered
Link .CSV file to image file names
Hello, First you will want to import the data from your CSV file. In MATLAB, you can right-click on the file in the Current F...

5 years ago | 0

Solved


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

5 years ago

Answered
How can i make a decicion in order to make my program run after it
It sounds like you want to place your code within an if...end expression. Refer to the documentation page, <https://www.mathwork...

5 years ago | 0

Solved


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

5 years ago

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

5 years ago

Answered
How to move pixels to a new coordinate by a function?
Hello, After an image is read into MATLAB, it is stored as a matrix of numbers. These numbers determine the color of the pixe...

5 years ago | 1

| accepted

Answered
MATLAB XIRR gives -37.1% while excel gives 4.2%
Hello, It appears that the algorithm is converging to a different solution. Here are some workarounds which achieve the same ...

5 years ago | 0

Answered
When using the regression learner app is there a way to save a regression learner session when many regressions have been run?
Hello, There is currently no direct way to save an existing session within the Regression Learner App. However, to prevent th...

5 years ago | 0

| accepted

Answered
Can MATLAB solve 3 order equation including square root of the variable?
Hello, If a symbolic equation has no solution, then "solve" would return empty. The return value you have received indicates ...

5 years ago | 0

Answered
Imshow in App Designer (Image size doesn't fit)
Hello, From my understanding of your question, you wish to display an image which will take up the entire space within the fi...

5 years ago | 8

| accepted

Answered
Why Validation set is not used in MATLAB example of Deep learning
As of the R2017b Prerelease, there is now a "ValidationData" parameter to the "trainingOptions" function. This allows the user t...

5 years ago | 0

Answered
Patch FaceVertexCData being overwritten by FaceColor
In order for the patch to use the color data you have specified, you must set the "FaceColor" property to be either "flat" or "i...

5 years ago | 0

| accepted

Answered
Publishing a plot with a caption
The functionality you have described can be achieved with the "snapnow" function, which forces a snapshot of an image for inclus...

5 years ago | 0

Answered
Modify line style with insertShape
One potential workaround to this is to create a new figure, display the image over the axes, and use the grid lines of the axes ...

5 years ago | 0

| accepted

Answered
Can I directly upload matlab output to github repistory?
One potential way to automatically upload files to GitHub is to include "git" commands within the scripts generating the output ...

5 years ago | 1

| accepted