Community Profile

photo

Adam Danz

MathWorks

Last seen: Today Actif depuis 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

Statistiques

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

Afficher les badges

Content Feed

A répondu
Errors in listener callbacks
> Is there a way to cancel this mechanism? to let the errors in listener callbacks become actual error messages? No, there isn'...

1 jour il y a | 0

| A accepté

A répondu
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 ...

5 jours il y a | 2

A répondu
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...

6 jours il y a | 0

| A accepté

A répondu
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'...

6 jours il y a | 0

A répondu
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...

6 jours il y a | 0

A répondu
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...

8 jours il y a | 2

| A accepté

A répondu
how can I save a sound to disk in wav format?
audiowrite - see first example.

8 jours il y a | 0

A répondu
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...

13 jours il y a | 1

A répondu
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 ...

14 jours il y a | 1

| A accepté

A répondu
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

14 jours il y a | 0

A répondu
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...

17 jours il y a | 0

A répondu
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...

17 jours il y a | 1

A répondu
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...

27 jours il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 0

A répondu
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');

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

| A accepté

A répondu
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}...

environ un mois il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 1

| A accepté

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

environ un mois il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 1

A répondu
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...

environ un mois il y a | 1

| A accepté

A répondu
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...

environ un mois il y a | 0

| A accepté

A répondu
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....

environ un mois il y a | 1

A répondu
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...

environ un mois il y a | 1

A répondu
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 ...

environ un mois il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 1

A répondu
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...

environ 2 mois il y a | 0

A répondu
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...

environ 2 mois il y a | 0

| A accepté

Charger plus