
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
統計
Feeds
Add fixed colorbar to volshow
Showing a colorbar with volshow Adding a colorbar directly to the figure produced by volshow is not supported. Here's a workar...
3日 前 | 1
| 採用済み
undocking command window in new desktop
In the R2025a prerelease: Right-click the command window and select "Undoc Command Window" from the context menu. To dock ...
3日 前 | 0
Figure window full screen from live script editor not working
I believe your workflow is to generate the figures in the mlx file and then to open the figure window using the interactive butt...
3日 前 | 1
| 採用済み
How to show variables in the workspace of an custom UI component ( App Designer) while debugging?
I'm having trouble envisioning what you're describing. The property inspector can be closed using the following command. insp...
10日 前 | 0
| 採用済み
I found a colormap problem with Matlab 2025a
Thanks for reporting this and for the troubleshooting. We were able to reproduce the issue and are working on a fix.
13日 前 | 0
| 採用済み
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 ...
約1ヶ月 前 | 0
| 採用済み
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...
約1ヶ月 前 | 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 ...
約1ヶ月 前 | 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 ...
約1ヶ月 前 | 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...
約2ヶ月 前 | 0
| 採用済み
公開済み
Casting Shadows and Inverse Stereographic Projections
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....
約2ヶ月 前

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...
約2ヶ月 前 | 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 ...
約2ヶ月 前 | 2
| 採用済み
公開済み
Casting Shadows
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....
2ヶ月 前

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 ...
2ヶ月 前 | 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...
2ヶ月 前 | 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...
2ヶ月 前 | 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ヶ月 前 | 0

Poll
Which skill would you like to enhance: Creating or Interpreting data visualizations?
2ヶ月 前 | 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...
3ヶ月 前 | 0
| 採用済み
Replacement for undocumented function feature('setround')
> Is there a documented MATLAB replacement for the undocumented function feature(‘setround’)? There currently is not a document...
3ヶ月 前 | 0
| 採用済み
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ヶ月 前 | 1
| 採用済み
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ヶ月 前 | 1
| 採用済み
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ヶ月 前 | 0
| 採用済み
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ヶ月 前 | 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ヶ月 前 | 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ヶ月 前 | 1
| 採用済み
公開済み
Violin Plot: A Tool For Visualizing Distributions
Guest Writer: Baldvin Einarsson Baldvin is a software engineer in the Statistics and Machine Learning...
4ヶ月 前

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...
4ヶ月 前 | 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...
4ヶ月 前 | 1