photo

Adam Danz

MathWorks

Last seen: Today Con actividad desde 2014

Followers: 8   Following: 16

Mensaje

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

Estadística

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

Ver insignias

Feeds

Respondida
How do you set the Layout Option at construction for ui objects?
See David's answer in the thread below for a one-liner solution: https://www.mathworks.com/matlabcentral/answers/1977184-can-yo...

14 días hace | 0

| aceptada

Respondida
Change the background colour gradient.
The axes color property can only be set to one solid color. A workaround is to plot a patch with interpolated colors and to s...

18 días hace | 1

| aceptada

Respondida
loop plot add text to only one specific plot year
I recommend using xregion (requires R2023a or later) or xline (requires R2018b or later). With xline you can also include a tex...

21 días hace | 0

Respondida
How to remove decimal points in the Workspace
See format to set output display format. format shortg or if you always want 2 decimal places, format bank See full list o...

alrededor de 1 mes hace | 0

Respondida
Simple turn on Lamp with switch in app designer
The problem is that the values the switch returns are On and Off with capital letters. Your string comparison is case sensitive...

alrededor de 1 mes hace | 0

Respondida
Passing output from a ButtonDownFcn callback function
Callback functions do not have outputs or a clear workspace where the outputs would live. Instead, within a callback function y...

alrededor de 1 mes hace | 0

Respondida
X-Axis Boxplot Shift
This demo plots the boxchart first and then plots the jittered scatter next to the boxes. This differs from the original request...

alrededor de 1 mes hace | 0

Respondida
Text inside the meshgrid
The problem: the initial image it not fully displayed in the figure Below is the section of code that creates the axes where th...

alrededor de 1 mes hace | 1

| aceptada

Respondida
Axis exponent missing when using exportgraphics to export figure in pdf vector format (or image)
This issue has been fixed in MATLAB R2024a Update 4. Get R2024a Update 4 ================================================= Th...

alrededor de 1 mes hace | 2

| aceptada

Respondida
How to save the figure generated by pcplayer
Get the figure handle from the player object produced by pcplayer. Use VideoWriter to create a VideoWriter object and use get...

alrededor de 1 mes hace | 0

| aceptada

Respondida
How to report/flag a user or a ThingSpeak channel?
For the second link, you can report the users using the "report" flag at the top of their profile. The first users doesn't have...

alrededor de 1 mes hace | 0

| aceptada

Respondida
Graphics fail when running live script after a long period of inactivity
Thanks for the information @Jorge. So that we can track this and investigate further, please contact tech support > Product Usa...

alrededor de 1 mes hace | 0

| aceptada

Respondida
plot a 2D circular intensity map
This demo assumes you have a vector of x-coordinates, a vector of y-coordinates, and a vector of intensity values. It uses grid...

alrededor de 1 mes hace | 0

| aceptada

Respondida
how to read a grey scale image in call back function and display it as matrix?
If you need to convert the image to grayscale use rgb2gray or im2gray (thanks DGM). I'm not sure what you mean to display an im...

alrededor de 1 mes hace | 0

Respondida
Change map coordinates to Latex Interpreter
The map axes you see is a psuedo-axes created from a patch with labels to appear as an axes. The actual axes is not visible. S...

alrededor de 1 mes hace | 1

Respondida
Matlab Gui: Dragging lines on plot using mouse
If you have the Image Processing Toolbox, you can use multiple ROI lines that are draggable. By assigning a listener to the lin...

alrededor de 1 mes hace | 0

Respondida
How to customise Polar Plots - Part 2
Thanks for sharing this, @Sam Hurrell. Something's fishy. Here's a workaround. You can set the axes' TitleHorizontalAlignm...

alrededor de 2 meses hace | 0

| aceptada

Respondida
issues about app design
> the edit area of the code view seems frozened, it only force me to edit within the area which marked with white background T...

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

Publicado


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

alrededor de 2 meses hace

Thumbnail

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

Poll


Which color format are you least familiar or least comfortable with?

alrededor de 2 meses hace | 1 votes | 2 comments

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

| aceptada

Cargar más