
Adam Danz
MathWorks
Software engineer at MathWorks with a Ph.D. in neurophysiology from the University of Rochester (NY). Specialized in visual and vestibular systems, multisensory integration, sensory-motor and control systems, steering, and navigation. Former member of the MathWorks Community Advisory Board. *My community contributions before 14-Feb-2022 were prior to my employment at MathWorks.
He/him
Estadística
10 Preguntas
3.726 Respuestas
28 Archivos
Cody0 Problemas
34 Soluciones
23 Publicaciones
HighlightsCLASIFICACIÓN
18
of 298.247
REPUTACIÓN
14.200
CONTRIBUCIONES
10 Preguntas
3.726 Respuestas
ACEPTACIÓN DE RESPUESTAS
80.0%
VOTOS RECIBIDOS
2.332
CLASIFICACIÓN
1.432 of 20.553
REPUTACIÓN
1.311
EVALUACIÓN MEDIA
4.80
CONTRIBUCIONES
28 Archivos
DESCARGAS
187
ALL TIME DESCARGAS
34924
CLASIFICACIÓN
14.204
of 160.685
CONTRIBUCIONES
0 Problemas
34 Soluciones
PUNTUACIÓN
360
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
23 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
31 Temas destacados
MEDIA DE ME GUSTA
8
Feeds
Using hold to generate scatter-histogram in for loop
There are two approaches to creating a scatterhistogram while using a loop. The first is to collect the data within the loop ...
19 días hace | 0
| aceptada
How to Change the first letter of a string to capital case and the rest to lowercase
Here's an approach that uses lower and regexprep. str = {'Vidin','sliven','rUSE','pErNiK','LOVECH'}; strTitle = regexprep(lowe...
21 días hace | 1
yyaxis limit for lines in one graph
Specify Line Style and Color in axes properties instead of in plot(__) Starting in R2023a, you can set the line style and line ...
27 días hace | 1
mlapp scaling/zoom errors
The zoom issue you are describing has been fixed for the R2025a release and is avalable in the R2025a pre-release. There is no ...
alrededor de 1 mes hace | 0
Transparency violation error only in new desktop and when a breakpoint is set in another function.
Transparency in MATLAB code refers to MATLAB's ability to identify all variables by scanning the code while ignoring comments, c...
alrededor de 1 mes hace | 0
| aceptada
Publicado
Casting Shadows and Inverse Stereographic Projections
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....
alrededor de 1 mes hace

The plotting function implicit3 fails to render under certain conditions. Notably, for sphere larger than a certain amount.
I believe the problem is recreated when the axes limits are not set. In this case, the ImplicitFunctionSurface is larger than th...
alrededor de 1 mes hace | 0
"plot" versus "text" command
Text's property AffectAutoLimits is set to off by default. This means that the axes limits will not update if a text object is ...
alrededor de 2 meses hace | 2
| aceptada
Publicado
Casting Shadows
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....
alrededor de 2 meses hace

Converting from Cartesian rates to spherical rates.
To convert the three Cartesian velocity components to spherical velocity values, you can follow these steps. I assume East is ...
alrededor de 2 meses hace | 0
Implementation details on surfnorm()
I recently looked into this topic and here's what I found. The surfnorm algorithm uses bicubic interpolation as defined in the...
alrededor de 2 meses hace | 0
How do I make and export a brushed area from a figure
Turn on brushing To turn on brushing, press the brush icon in the axes toolbar or called the brush command: brush on. Intera...
alrededor de 2 meses hace | 0
Alphabetical Sorting (case insensitive)
> I want to assort an array of words in alphabetical order with case insensitive sorting A = ["help" ; "MATLAB" ; "anyTIME" ; "...
2 meses hace | 0

Poll
Which skill would you like to enhance: Creating or Interpreting data visualizations?
2 meses hace | 28 votes | 2 comments
Appdesigner: updating the value of Text area
See drawnow function StartButtonPushed(app, event) app.val = app.PromptTextArea.Value; app.StartButton.Enable = "of...
2 meses hace | 0
| aceptada
Replacement for undocumented function feature('setround')
> Is there a documented MATLAB replacement for the undocumented function feature(‘setround’)? There currently is not a document...
2 meses hace | 0
| aceptada
Alias blanks in the cell array as a string.
As the OP found, the solution is to include multiple delimiters strsplit(t,'\t', 'CollapseDelimiters',false) And as others hav...
3 meses hace | 1
| aceptada
Group Data for one Legend in Figure of Multiple SubPlots
Here are the key concepts to achieve this Use tiledlayout instead of subplot. Tiledlayout does a much better job at hosting gl...
3 meses hace | 1
| aceptada
How to read numeric data with different number of columns
Is this what you are looking for? file = "data.txt"; t = readtable(file, 'ReadRowNames',true,"Delimiter",'\t') The data file...
3 meses hace | 0
| aceptada
Understand values differences between smooth and smoothdata functions
> Is there a difference in window calculation between smooth and smoothdata for 'lowess' method These two functions compute the...
3 meses hace | 1
Unable to see uifigure object properties
Let's see if I understand your workflow. Please correct me if this summary is incorrect. rbBar and rbLine are defined in a fun...
3 meses hace | 0
Remove NaNs from uitable Matlab App
Can a UITable show missing values or NaNs as empty? Currently there is not an option to show missing or NaN values as empty in ...
3 meses hace | 1
| aceptada
Publicado
Violin Plot: A Tool For Visualizing Distributions
Guest Writer: Baldvin Einarsson Baldvin is a software engineer in the Statistics and Machine Learning...
3 meses hace

how to add geoplot scatter plot custom icon overlays?
If you're using MATLAB R2024b or later and have the Mapping Toolbox, use the new geoiconchart. lat = [37.7749, 34.0522, 40.7128...
3 meses hace | 2
How to rotate rectangular with a an angle?
MATLAB's polyshape has a rotate function that makes this fairly easy. Instead of the [left, bottom, width, height] input used i...
3 meses hace | 1
Superscripts and subscripts in fprintf
Not all letters have unicode subscripts but m, a, and x do, so you're in luck. x = 2; fprintf(1,'Maximum value of N is N%c%c%...
4 meses hace | 0
how to halt a for loop in an external function called from mlapp by using a stop button in the mlap app
> Do I need to pass in app.stopFlag as an argument with the function when I call it, I thought that making app.stopFlag public w...
4 meses hace | 0
Zoom of image on UIAxes seems to have one axis bound
Try setting the DataAspectRatio to [1 1 1] using axis(uiax,'equal'). If that doesn't fix the issue, it would help to share a ...
4 meses hace | 0
| aceptada
How to disable or delete cameratoolbar context menu
This stumped me for a bit but I've found a potential workaround. I'll also make a note of this issue for discussion. Workaroun...
4 meses hace | 0
Why is bootci giving different interval than prctile?
You're using two different alpha values. When you call bootci, you specify alpha as 0.05 or 5%. When you call prctile, you'...
4 meses hace | 1
| aceptada