Community Profile

photo

Adam Danz

MathWorks

Last seen: en dag ago Active since 2014

MathWorks software engineer with interests in data analysis and visualization. Ph.D. at the University of Rochester (NY) with focus on neurophysiology, visual and vestibular systems, multisensory integration, sensory-motor systems, control systems, steering, and navigation. My contributions to MATLAB Central before 14-Feb-2022 were prior to my employment at MathWorks. "If I had only one hour to save the world, I would spend fifty-five minutes defining the problem, and only five minutes finding the solution. -Albert Einstein "An expert is a person who has made all the mistakes that can be made in a very narrow field." -Niels Bohr "If you are not embarrassed by the first version of your product, you've launched too late" - Reid Hoffman

Statistics

All
  • MATLAB Mini Hack 2022 Participant
  • MATLAB Mini Hack Participant
  • Knowledgeable Level 5
  • Most Accepted 2021
  • Solver
  • Personal Best Downloads Level 4
  • Explorer
  • Revival Level 4
  • 36 Month Streak
  • Master
  • Thankful Level 5
  • Editor's Pick

View badges

Content Feed

Answered
How to put a figure window in the center of the screen?
> Is it possible to put a figure (for example a GUI window) in the center of the screen? | Use movegui movegui('center') or ...

2 dagar ago | 2

Answered
my tab group in app designer doesn't fit in UIfig
Thanks for sharing an image. It looks like it fits in the figure space to me. Do you mean you intend it to fill the entire fig...

3 dagar ago | 0

| accepted

Answered
For the following attached code, colormap I have tried does not seem to be working.
The question is about cmap but cmap doesn't exist in you code so I assume cmap is a variable (or function) in arrow3D but I don'...

3 dagar ago | 0

Answered
Does the statistics and machine learning toolbox include timeseries analysis?
> Does the statistics and machine learning toolbox include timeseries analysis? The Statistics and Machine Learning Toolbox sup...

3 dagar ago | 0

Poll


Today, while using MATLAB, I'm going to....

4 dagar ago | 102 votes | 1 comments

Answered
Why does textbox have 3 reserved words?
Those are the exact locations of our MATLAB Online servers! 😀 j/k You may have also noticed the same information in our text pr...

5 dagar ago | 2

| accepted

Answered
how can I save a sound to disk in wav format?
audiowrite - see first example.

5 dagar ago | 0

Answered
How to plot multiple graphs in one figure ?
> I want to plot two graphs in one figure Options are subplot tiledlayout with nexttile - preferred, starting in R2019b su...

10 dagar ago | 1

Answered
Extract brushed data programmatically
To get the coordinates of selected data points, you can follow the example in this answer. That answer shows that BrushData is ...

11 dagar ago | 1

| accepted

Answered
how to make Plot a rectangle Using the XY Graph Block
See https://www.mathworks.com/help/simulink/ug/plot-circle-with-xy-graph.html

11 dagar ago | 0

Answered
Plot a polygon on web world map
> Is there a way to plot a free hand polygon using drawpolygon function on web world map (webmap)? Polygon objects created in d...

14 dagar ago | 0

Answered
Scroll to location within uidropdown
Currently there isn't a way to programmatically scroll within a DropDown list. Two workarounds could be to use a uilistbox or...

14 dagar ago | 1

Answered
Matlab app designer error related to an array
The table appears to be empty (running from m-file) MQTTSignal = mqttclient('tcp://broker.hivemq.com','Port',1883) dataTT = re...

24 dagar ago | 0

| accepted

Answered
How to left align YDisplayLabels in a heatmap
You can pad the labels with empty spaces so that all labels are the same length using labels={'aaaa','bbb','c'}; h1=heatmap(r...

27 dagar ago | 0

Answered
How to set color gradient based on z axis?
scatter3(X,Y,Z,S,C) hSc3 = scatter3(T.CED(ix),T.r(ix),T.E0(ix),36,T.E0(ix),'filled');

29 dagar ago | 0

Answered
I have the following signal with some peaks and some valleys. Is it possible to make the baseline zero?
Since you just want the baseline shift, you just need to fit the y-intercept which would be a 0-degree polynomial. Here's a de...

29 dagar ago | 0

Answered
How can I change the value of x and y axes?
You must be using mesh(Z) If you want to specify the x and y coordinates, use mesh(X,Y,Z). If x and y are in radians, convert...

29 dagar ago | 0

| accepted

Answered
Legend showing same symbol for loop plot
Try this for i=1:size(obs,1) x = V(:,1)'*obs(i,:)'; y = V(:,2)'*obs(i,:)'; z = V(:,3)'*obs(i,:)'; if(grp{i}...

30 dagar ago | 0

| accepted

Answered
How to filter out dates within a datetime list?
Here are the steps you can take. 1. NOAA contains dates and durations in separate variables. Combine them into 1 datetime vec...

ungefär en månad ago | 1

| accepted

Answered
How to control latex TickLabel FontSize?
Two methods Set FontSize property figure() ax = gca(); set(ax, 'TickLabelInterpreter', 'latex', 'YTickLabel','$\frac{a}{b}$'...

ungefär en månad ago | 0

| accepted

Answered
How can I give a location to the text written in Yline type plots , without making it an object?
You can specify which side of the axes the label is printed using the LabelHorizontalAlignment property. Alternatively, you c...

ungefär en månad ago | 1

Answered
What is the best way to check the inputs of a function?
I'm sure there are varying opinions on this. Here are some bits that might help with your decision. function argument validat...

ungefär en månad ago | 1

| accepted

Answered
prompt a GUI user to enter different values
Put your dialog in a while-loop that exits when the input conditions are met and regenerates the dialog if the conditions are no...

ungefär en månad ago | 0

| accepted

Answered
How to extract specific dates from a datetime table?
Datetimes are rounded down to the start of the day using dateshift. Then, ismember finds matches between the two sets of dates....

ungefär en månad ago | 1

Answered
How to avoid horizontal shifts after applying GroupByColor on boxcharts?
You can create the boxes in a loop, y = magic(5); [nrows, ncols] = size(y); hold on for i = 1:ncols boxchart(repel...

ungefär en månad ago | 1

Answered
Deleting axes changes legend transparency?
In gplotmatrix, the legend is associated with the axes in the upper right corner. When the visibility of that axes is off, the ...

ungefär en månad ago | 0

| accepted

Answered
How can I change the font size in the command window for the mode -nodesktop?
Changing the fontsize of the command window programmatically via settings has no effect in -nodesktop. However, starting in R...

ungefär en månad ago | 0

Answered
How to align the figure name or title to the left ?
Starting in MATLAB R2020b, control the horizontal alignment of title and subtitle using the axis properties TitleHorizontalAlign...

ungefär en månad ago | 1

Answered
Display images instead of numbers in a Matrix.
Here are some solutions using emojis. One emoji, different colors emoji = char([55356 57312]); % "🏠" data = [0 1 0; 1 1 1...

ungefär en månad ago | 0

Answered
How to solve the problem that the hybrid algorithm in mixed integer programming is ignored
As per the documentation (see this page), there are some restrictions on the types of problems that ga can solve when you includ...

ungefär en månad ago | 0

| accepted

Load more