Adam Danz - MATLAB Central
photo

Adam Danz

MathWorks

Last seen: Today Active since 2014

Followers: 27   Following: 25

Message

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.

Pronouns:
He/him

Statistics

All
MATLAB AnswersCodyHighlightsFile ExchangeBlogsFrom 03/14 to 04/25Use left and right arrows to move selectionFrom 03/14Use left and right arrows to move left selectionTo 04/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

10 Questions
3,726 Answers

File Exchange

28 Files

Cody

0 Problems
34 Solutions

Blogs

23 Posts

Highlights

31 Highlights

RANK
18
of 298,204

REPUTATION
14,196

CONTRIBUTIONS
10 Questions
3,726 Answers

ANSWER ACCEPTANCE
80.0%

VOTES RECEIVED
2,331

RANK
1,431 of 20,548

REPUTATION
1,310

AVERAGE RATING
4.80

CONTRIBUTIONS
28 Files

DOWNLOADS
190

ALL TIME DOWNLOADS
34912

RANK
14,183
of 160,571

CONTRIBUTIONS
0 Problems
34 Solutions

SCORE
360

NUMBER OF BADGES
1

CONTRIBUTIONS
23 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
31 Highlights

AVERAGE NO. OF LIKES
8

  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack 2022 Participant
  • Editor's pick for Answers
  • Knowledgeable Level 5
  • Solver
  • Personal Best Downloads Level 4
  • Explorer
  • Most Accepted 2021
  • MATLAB Mini Hack Participant
  • Revival Level 4
  • 36 Month Streak
  • Master

View badges

Feeds

Answered
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 ...

15 days ago | 0

| accepted

Answered
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...

17 days ago | 1

Answered
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 ...

23 days ago | 1

Answered
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 ...

29 days ago | 0

Answered
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...

1 month ago | 0

| accepted

Published


Casting Shadows and Inverse Stereographic Projections
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....

1 month ago

Thumbnail

Answered
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...

1 month ago | 0

Answered
"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 ...

1 month ago | 2

| accepted

Published


Casting Shadows
Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team....

2 months ago

Thumbnail

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
Alphabetical Sorting (case insensitive)
> I want to assort an array of words in alphabetical order with case insensitive sorting A = ["help" ; "MATLAB" ; "anyTIME" ; "...

2 months ago | 0

Answered
Appdesigner: updating the value of Text area
See drawnow function StartButtonPushed(app, event) app.val = app.PromptTextArea.Value; app.StartButton.Enable = "of...

2 months ago | 0

| accepted

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 1

| accepted

Answered
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 months ago | 1

| accepted

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 1

Answered
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 months ago | 0

Answered
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 months 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...

3 months ago

Thumbnail

Answered
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 months ago | 2

Answered
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 months ago | 1

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 1

| accepted

Load more