Community Profile

photo

Matt Sprague

MathWorks

Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How can I abort a long task programmatically?
You could throw an error when the pushbutton is clicked with the "error" function to stop execution. Similar to <https://www.mat...

6 years ago | 0

Answered
Looking for algorithm for edge tracking of feasible solution space.
Based on the figure provided and assuming the data follows a similar pattern across time, a threshold method should be able to e...

6 years ago | 0

Answered
We are trying to make a board, using a matrix with numbers 0, 1 and 2. How can we specified the color of each number in the board using image?
You can treat the matrix created as an indexed image and use ind2rgb after defining a custom colormap with 3 levels (one for eac...

6 years ago | 0

Answered
How do i export variables from Edit Fields?
<https://www.mathworks.com/help/matlab/creating_guis/share-data-among-callbacks.html>

6 years ago | 0

Answered
How can I subplot heat maps?
The HeatMap object does not support being displayed as a subplot. The new "heatmap" function introduced in R2017a supports this ...

6 years ago | 0

| accepted

Answered
Problem with plot of one reversed bar and one standard plot
The legend from the first axis, h1, will not be able to be edited manually in the figure since it is no loner the current axes a...

6 years ago | 0

| accepted

Answered
Why guidata doesn't save modified handles structure in OpeningFcn of GUI?
Remove the following lines from the MainFig pushbutton callback: handlesSingleModesFig = guihandles(singleModesFig); gui...

6 years ago | 0

| accepted

Answered
Skip header and comments within file
Since the header and comments all start with '#', you can set that character as the comment style to skip those lines and only r...

6 years ago | 1

Answered
Arima Quasi maximum likelihood
Maximum Likelihood Estimation is used to estimate the parameters of an arima model <https://www.mathworks.com/help/econ/arima...

6 years ago | 0

Answered
Divide daytimes in before noon and after noon
You could use the Hour property of the datetime class and logical indexing to extract which times are before or noon. t1 =...

6 years ago | 0

Answered
fitting multi-exponential decays to data collected in logarithmic bins
After displaying your histogram, the y-axis can be changed to logarithmic scale through this command set(gca,'YScale','log'...

6 years ago | 0

Answered
How to exclude a continent from worldmap in MATLAB (eg antarctica)
The worldmap function constructs map axes for given regions in the world. It specifies the map axes limits based on the regions ...

6 years ago | 0

| accepted

Answered
How do i add legend to a single figure with plots from multiple sheets of two different excel files?
An Axes object can have only one legend. Assuming you want to have the legend display information from both excel files data, yo...

6 years ago | 0

Answered
How to fill planes in a 3d Plot?
The fill3 command can be used to create the surface between your line and the y-axis. The fliplr command is used to make sure th...

6 years ago | 0

Answered
How Can I detect a blurred line out of a low resolution image in Matlab
I was able to get good results on this image from using the horizontal components of the Sobel edge filter before inputting to y...

6 years ago | 1