Community Profile

photo

Duncan Lilley

MathWorks

Last seen: 17 dagar 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...

mer än 2 år ago | 6

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

nästan 6 år ago | 0

Solved


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

ungefär 6 år 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 ...

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år ago

Solved


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

mer än 6 år 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...

mer än 6 år 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 ...

mer än 6 år 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...

mer än 6 år ago | 0

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

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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 ...

mer än 6 år 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 ...

mer än 6 år ago | 1

| accepted