
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
Statistics
28 Files
Cody0 Problems
34 Solutions
21 Posts
Highlights31 Highlights
RANK
18
of 297,303
REPUTATION
14,164
CONTRIBUTIONS
10 Questions
3,718 Answers
ANSWER ACCEPTANCE
80.0%
VOTES RECEIVED
2,322
RANK
1,461 of 20,420
REPUTATION
1,277
AVERAGE RATING
4.80
CONTRIBUTIONS
28 Files
DOWNLOADS
208
ALL TIME DOWNLOADS
34638
CONTRIBUTIONS
21 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
31 Highlights
AVERAGE NO. OF LIKES
8
Feeds
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 days ago | 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...
3 days ago | 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...
6 days ago | 0
Alphabetical Sorting (case insensitive)
> I want to assort an array of words in alphabetical order with case insensitive sorting A = ["help" ; "MATLAB" ; "anyTIME" ; "...
9 days ago | 0

Poll
Which skill would you like to enhance: Creating or Interpreting data visualizations?
12 days ago | 24 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...
19 days ago | 0
| accepted
Replacement for undocumented function feature('setround')
> Is there a documented MATLAB replacement for the undocumented function feature(‘setround’)? There currently is not a document...
23 days ago | 0
| accepted
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...
29 days ago | 1
| accepted
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...
30 days ago | 1
| accepted
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...
1 month ago | 0
| accepted
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...
1 month ago | 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...
1 month ago | 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 ...
1 month ago | 1
| accepted
Published
Violin Plot: A Tool For Visualizing Distributions
Guest Writer: Baldvin Einarsson Baldvin is a software engineer in the Statistics and Machine Learning...
1 month ago

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...
2 months ago | 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...
2 months ago | 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%...
2 months ago | 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...
2 months ago | 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 ...
2 months ago | 0
| accepted
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...
2 months ago | 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'...
3 months ago | 1
| accepted
What are All of the Variables in the Workspace on Answers?
Fixed! Thanks for reporting it. myvar = 5; whos
3 months ago | 2
| accepted
Published
Pinecode: Creating pinecones with Fibonacci spirals
Today we explore phyllotactic spirals, a naturally emerging pattern found in densely packed plant structures such as...
3 months ago

Copy/Paste from ListBox at runtime
Add a right-click "copy" option to ListBox Create a context menu for the list box and set its MenuSelectedFcn to use clipboard...
3 months ago | 1
| accepted
Published
Share your Apps with MATLAB Online and Focused View: A Pumpkin Example
Guest Writer: Eric Ludlam Today Eric Ludlam shares three steps to share your app with others using a hyperlink....
3 months ago

Automatic line selection bug
Ensure that your mouse button isn't stuck. I haven't seen this issue but if it continues to occur after closing and reopening M...
3 months ago | 0
Cannot Open any MLAPP with axes
This appears to be the same issue as in the thread Saurabh mentioned. If you want to try to fix this yourself I suggest you cre...
3 months ago | 1
Where can I get a matlab coffee cup?
Check out the new MathWorks Merch Shop: https://mathworksmerch.com/ Announcement: https://blogs.mathworks.com/community/2024/11...
3 months ago | 4
when I move the plot, the text is not displayed outside the plot itself
When you create the text labels, set clipping to on. text(___,'Clipping','on')
4 months ago | 0
| accepted
Is there any way to add a set of random punctual z values labels inside the plot using a contourf x, y, z command?
Add a set of random z value labels inside a contourf plot This demo shows the following. Define x (vector), y (vector), and z...
4 months ago | 0
| accepted