Community Profile

photo

David Szwer


Last seen: 21 days ago Active since 2016

Statistics

  • Revival Level 1
  • Thankful Level 1
  • First Review
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Creating a single .mat file by combining several .mat files
This can be done with structures. Here's a demonstration - only the middle cell is the code you actually need. %% Set up the d...

10 months ago | 0

| accepted

Answered
How can i plot the YCbCr histograms with the correct colour points (0-255)
You would want to change the CData property of the histograms, which would let you set the colour of each individual bar. Howev...

1 year ago | 0

Answered
Property validation against another property
I don't think this is possible using a validation function. The help page says, "Additional arguments must be literal values an...

1 year ago | 2

Question


I don't understand busy modes of a timer object
TL;DR: What is the difference between timers using the BusyMode options drop and queue, and the ExecutionMode options fixedDelay...

1 year ago | 1 answer | 1

1

answer

Question


Stopping and restarting a timer within its own callback - why does it then run the callback twice at a time, but only with fixedSpacing?
I want to start and stop a timer within the timer callback function*. I do this with code like the following script: global ti...

1 year ago | 1 answer | 0

1

answer

Answered
How do you read a text file into a cell string?
The readcell() function might do the job. It was introduced in R2019a. Data = readcell(FileName, Delimiter = "") It automatic...

2 years ago | 0

Question


How can I include the "blue dot" when taking pictures of an app for a test report.
The App Testing Framework allows Matlab to "press" GUI buttons to test that they have the right effect, and it provides a help...

2 years ago | 0 answers | 0

0

answers

Question


How can I restrict a text edit field to only specific characters?
Using the App Designer in R2020b, I have a text edit field that I want to restrict to a set of specific characters. I am trying...

3 years ago | 1 answer | 0

1

answer

Question


Can I remove axes from a tiledlayout, and have it reflow?
Suppose I create a flowing tiledlayout tiledlayout('flow') and add a few plots with nexttile() The layout automatically rear...

3 years ago | 1 answer | 0

1

answer

Answered
Can I shift the position of a tile in tiledlayout to be skewed?
The solution is to set up tiledlayout with double the number of rows and columns you need, and create each axes as a 2×2 square....

3 years ago | 4

Answered
How can i save the text area characters to a text file in app designer?
Try using the writecell() function. As far as I can tell, although a TextArea's Value can be set in numerous different formats,...

3 years ago | 0

Question


When using Optimoptions, how can I tell if an option was user-set, or a default.
I am writing a function which is effectively a wrapper for an optimization function (specifically lsqcurvefit, but it doesn't ma...

7 years ago | 1 answer | 0

1

answer

Answered
How can i convert my specific color detection in rgb to hsv?
There's an existing pair of functions <https://uk.mathworks.com/help/matlab/ref/hsv2rgb.html hsv2rgb>, and <https://uk.mathworks...

7 years ago | 0

| accepted

Question


Poisson confidence interval - why limit it to < 100 counts?
In the statistics toolbox, we use the function poissfit to calculate the parameter lambda (=mean =variance) of poisson-distribut...

7 years ago | 0 answers | 0

0

answers