# Duncan Lilley

### MathWorks

Last seen: 23 dagen ago Active since 2017

Followers: 0   Following: 0

All

#### Feeds

View by

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...

meer dan 2 jaar ago | 6

| accepted

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...

ongeveer 6 jaar ago | 0

Solved

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

ongeveer 6 jaar ago

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 ...

meer dan 6 jaar ago | 0

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...

meer dan 6 jaar ago | 0

| accepted

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...

meer dan 6 jaar 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...

meer dan 6 jaar ago

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...

meer dan 6 jaar 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...

meer dan 6 jaar ago

Solved

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

meer dan 6 jaar ago

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...

meer dan 6 jaar ago | 1

| accepted

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 ...

meer dan 6 jaar ago | 0

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...

meer dan 6 jaar ago | 0

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 ...

meer dan 6 jaar ago | 0

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...

meer dan 6 jaar ago | 8

| accepted

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...

meer dan 6 jaar ago | 0

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...

meer dan 6 jaar ago | 0

| accepted

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...

meer dan 6 jaar ago | 0

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 ...

meer dan 6 jaar ago | 0

| accepted