photo

Adam Danz

MathWorks

Last seen: Today Active since 2014

Followers: 5   Following: 11

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 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
AppDesigner UIFigure WindowScrollWheelFcn disables datatips
> when I add a WindowScrollWheelFcn callback to the parent uifigure, I am no longer able to see datatips when hovering over poin...

1 day ago | 0

| accepted

Published


Boost Your App Design Efficiency – Effortless Component Swapping & Labeling in App Designer
Guest Writer: Dinesh Kavalakuntla Dinesh is a Software Engineer on the MATLAB App Designer team at MathWorks. He began his...

3 days ago

Thumbnail

Answered
extracting values from an image with color legend
One way to see the color value is to add the color data to the data tip. When you click on or hover over one of the points, you...

3 days ago | 0

Answered
Counting number of elements less than value across 2d matrix
> I'd like to calculate the percent of values in part of the matrix -- i.e., from 401:440 and 1081:1360 -- where values are less...

3 days ago | 1

Answered
Stl file pdegplot in App designer
> pdegplot command does that but how can I use it in App Designer? pdegplot does not have an input argument or property to spec...

6 days ago | 0

| accepted

Answered
Add individual legends to plots in a tiledlayout
Only one legend can be assigned to an axes. This poses a problem if each axes has a legend and you want to add a global legend ...

7 days ago | 1

| accepted

Answered
Refresh FFT plot when time signal is panned
linkaxes is often used to link axes limits between multiple axes but in this case, your axes have different units and different ...

7 days ago | 0

Answered
Which characters are replaced by matlab.lang.makeValidName?
matlab.lang.makeValidName uses isvarname to determine if the string is a valid variable name. The doc page for isvarname state...

7 days ago | 0

| accepted

Answered
shifting axis on both ends so graph does not have points on extreme end
In addition to axis padded which pads all axes limits, you could use ylim('padded') to only pad the y axis limits (same with xli...

7 days ago | 0

Answered
Is there a way to programmatically generate function signature jsons file?
> I was wondering if there was a way to generate signature jsons through MATLAB code No, MATLAB does not offer such a function....

7 days ago | 1

| accepted

Answered
Programmatically close App Designer app after running it for a unit test
Original answer removed due to error. See discussion below. Summary of approaches (thanks to Steven Lord) use a addTeardown ...

8 days ago | 0

| accepted

Answered
How to squeeze specific value from 4D array?
It seems like you are asking for a way to identify and retrieve every instance where the temperature value is exactly 25 within ...

8 days ago | 0

| accepted

Answered
Unrecognized function or variable " " , when I use my function
The variable t_peaks is not defined in the fit_function. Neither is the peaks variable but this is not throwing an error becaus...

8 days ago | 0

Answered
how to plot a section of a circle, need help with coding the math
> The variables I have is center position (lat and long), I have right and left aperture (130° total), max range (usually 25-30 ...

9 days ago | 0

| accepted

Published


Build Simulink Apps with App Designer
Guest Writer: Robert Philbrick Robert Philbrick is a principal engineer responsible for new interactive App Designer...

9 days ago

Thumbnail

Answered
Appdesigner window ends up in background after uigetfile
Thanks for reporting the problem. This has been fixed in the R2024a beta release and the fix will be available in the genera...

9 days ago | 0

Answered
Pushbutton sends app designer panel to the back.
Thanks for describing the problem. This is a known issue (previous reports: 1, 2, and others). This has been fixed in the R2...

10 days ago | 0

Answered
How do I programmatically extract a 3D plot point selected by a user interactively?
Finding the nearest point in 3D space to a mouse click in a 2D representation may pose problems because depth of the mouse click...

10 days ago | 1

| accepted

Answered
Unwanted quotation marks when appending a table in pdf report
I don't know whether there is any report generator wizardry that addresses this but a simple solution is to convert the cell-str...

14 days ago | 1

Answered
Plot Stacked Surfaces with Coloring Appropriate for each Individual Surface
Assuming the three surfaces are on the same axes, you can set the cdata for each surface. The cdata can be normalized so that ea...

15 days ago | 0

| accepted

Answered
Why does my plot line appear outside the axes?
This appears to be a bug specific to the OpenGL renderer. Thanks for reporting this issue. Investigation will continue interna...

18 days ago | 2

| accepted

Answered
Exported 3D plot into SVG shows swirly white lines between chopped subshapes in inkscape
The white lines issue has been around for a while and is an effect of how viewing software rasterizes vectors. There have been ...

21 days ago | 0

Answered
Scatter plot text behind plotted data when image copied.
Thanks for the info @Kirstie Beugger. Looks like a bug. When copying graphics in vector format the figure's renderer is switch...

21 days ago | 1

| accepted

Answered
how to scale arrows
Quiver scaling can be tough to understand. We recently added the ScaleFactor property (R2024a) to help out. See this answer fo...

27 days ago | 0

Answered
How can i set the dimension of the arrow in a quiver plot?
Understanding quiver auto scaling When using quiver(X,Y,U,V,__), U and V are the horizontal and vertical vector magnitudes. Ho...

27 days ago | 0

Answered
rotate3d not working properly with matlab GUI and pcshow function
Fixed in R2024a Thanks for sharing this info! Rotation with 3D point clouds was improved in R2024a. This should fix the probl...

27 days ago | 0

Answered
view() not returning [az, el] ??
The azimuth and elevation outputs are returned as two separate outputs. f = figure('visible','off'); ax = gca(f); [az, el]...

28 days ago | 1

Highlighted


AMA: The secret of staff contributors in the Answers forum
Welcome to MATLAB Central's first Ask Me Anything (AMA) session! Over the next few weeks, I look forward to addressing any...

29 days ago | 1

Answered
One legend for a group of subtightplots
That FEX function subtightplot is very useful but since R2019b you can use tiledlayout instead and since R2020b, tiledlayout sup...

1 month ago | 1

| accepted

Load more