Community Profile

# Duncan Lilley

### MathWorks

Last seen: 4日 前 2017 以来アクティブ

All

バッジを表示

#### Content Feed

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

9ヶ月 前 | 3

| 採用済み

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年以上 前 | 0

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

4年以上 前

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

4年以上 前 | 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...

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 0

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

4年以上 前

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

4年以上 前 | 0

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

4年以上 前

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

4年以上 前

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

4年以上 前 | 1

| 採用済み

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年弱 前 | 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...

5年弱 前 | 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 ...

5年弱 前 | 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...

5年弱 前 | 8

| 採用済み

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年弱 前 | 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...

5年弱 前 | 0

| 採用済み

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年弱 前 | 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 ...

5年弱 前 | 0

| 採用済み

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年弱 前 | 1

| 採用済み