Community Profile

photo

Adam Danz

MathWorks

Last seen: Today Attivo dal 2014

MathWorks software engineer. Background: Ph.D. at the University of Rochester (NY) with focus on neurophysiology, visual and vestibular systems, multisensory integration, sensory-motor systems, control systems, steering, and navigation. My contributions to MATLAB Central before 14-Feb-2022 were prior to my employment at MathWorks. "If I had only one hour to save the world, I would spend fifty-five minutes defining the problem, and only five minutes finding the solution. -Albert Einstein "An expert is a person who has made all the mistakes that can be made in a very narrow field." -Niels Bohr "If you are not embarrassed by the first version of your product, you've launched too late" - Reid Hoffman

Statistics

All
  • MATLAB Mini Hack 2022 Participant
  • MATLAB Mini Hack Participant
  • Knowledgeable Level 4
  • Most Accepted 2021
  • Solver
  • Personal Best Downloads Level 4
  • Explorer
  • Revival Level 4
  • 36 Month Streak
  • Master
  • Thankful Level 5
  • Editor's Pick

Visualizza badge

Content Feed

Risposto
earth colors plot in 3D
> How can I change the color of what called the earth to take the real color of the earth ? - without the mapping toolbox This ...

21 minuti fa | 0

Risposto
How can I copy a MATLAB figure to ms word while retaining figure labels?
copygraphics is a quick and easy way to copy a figure or axes to the clipboard so you can paste it into a document. For example...

31 minuti fa | 0

Risposto
Text Area position issue in R2022b version
Thanks for reporting this issue. A workaround until it is fixed is to apply a grid layout to the right panel in R2022b (or la...

circa 21 ore fa | 0

| accettato

Risposto
Combine LineStyleOrder and ColorOrder
Starting in MATLAB R2023a you can cycle through LineStyleOrder and ColorOrder together by setting LineStyleCyclingMethod to 'wit...

3 giorni fa | 0

Risposto
cycling through both linestyle and linecolor
Starting in MATLAB R2023a you can cycle through LineStyleOrder and ColorOrder together by setting LineStyleCyclingMethod to 'wit...

3 giorni fa | 1

| accettato

Risposto
Rotate ylabel and keep centered
Starting in MATLAB R2023a when you change the Rotation property of an axis label in a 2-D plot, the HorizontalAlignment and the ...

3 giorni fa | 0

Risposto
How to rotate ylabel but still auto-resize plot axes?
Starting in MATLAB R2023a when you change the Rotation property of axis labels in a 2-D plot, the HorizontalAlignment and Vertic...

3 giorni fa | 0

Risposto
How can I control the stacking order of objects in appdesigner?
Starting in MATLAB R2023a you can use uistack to control the stacking order of ui components in a uifigure such as in App Design...

3 giorni fa | 0

Risposto
I am unable to change the fontsize of axis ticks
> setting the font size using gca.FontSize doesn't change the size of axis ticks gca() is a function that returns the current ...

10 giorni fa | 0

Risposto
Extracting data from histogram plots
3 methods to group data and compute mean for each group Each method deals with empty bins differently. discretize + splitappl...

10 giorni fa | 0

| accettato

Risposto
Zooming Into UIAxes Image Changes Axis Shape and Position: Why, and How Do I Fix?!
Your intuitions are correct. Panning and zooming reset the CameraPosition and CameraTarget back to default states which explain...

10 giorni fa | 1

| accettato

Risposto
Spectral clustering: K-means replicates setting to improve reliability
If you open spectralcluster, you'll see that kmeans is being called with a Replicates value of 5 and there is not a way to speci...

10 giorni fa | 0

| accettato

Risposto
plotting a function and values from a table
> how do I plot the actual line's equation? The assignment is to plot the line at intervals of 0.001pi between 0 and 0.2pi, no...

10 giorni fa | 0

Risposto
How can I add to cell arrays like I do with normal arrays?
T = {1234,80,'matlab','12',rand(4)} TT = [T,7:9] or T(end+1) = {7:9}

13 giorni fa | 0

Risposto
How to control UI progress dialog box 'uiprogressdlg' size and position
The figure generated by uiprogressdlg should not be a child of the figure and does not have accessible position properties. A...

26 giorni fa | 0

Risposto
How can I determine what add-ons I have installed?
A programmatic way to list all user-installed toolboxes, available since R2016a. Note, these are not the same as MATLAB Toolbox...

circa un mese fa | 1

Risposto
Determine if an element in array of doubles start with patten
Here's a demo that finds the first value in a vector that has a first digit equal to 4. The values can have any number of digit...

circa un mese fa | 0

Risposto
Animation of multiple Quivers
The hold command merely prevents the axes from being cleared when you add new graphics objects to the axes. You can manipulate ...

circa un mese fa | 0

Risposto
Ploted graphs in tiled layout extends beyond figure
The problem is that t1 has a layout of 3x1 but t3 which is nested in t1 is set to a span of 2x3. t3.Layout.TileSpan = [2 3] ;...

circa un mese fa | 0

| accettato

Risposto
patternnet throwing error on iris_dataset
I am unable to reproduce this error using the same release (R2022b, Deep Learing TB 14.5). In net = train(net,x,t), make sur...

circa un mese fa | 0

Risposto
How can make the user not be able to change tabs by clicking on them Matlab app designer?
See this related answer: Control tab selectivity.

circa un mese fa | 2

| accettato

Risposto
How to label the numeric values at the end of a stack in a stacked bar graph?
Here's a demo you can adapt to your needs. I reworked a bit of your code to Use categorical x values instead of setting xtic...

circa 2 mesi fa | 1

| accettato

Risposto
How to remove rows of zero's occurring prior to rows of desired data?
This demo makes the following assumptions The first row of non-zeros is the first row of the data you'd like to isolate. The l...

circa 2 mesi fa | 0

Risposto
No way to plot correctly dashed and dotted lines using painters
Thanks for reporting this issue. Here's a workaround I came up with after some trial and error. After running the code from y...

circa 2 mesi fa | 0

| accettato

Risposto
identify the pixel color as a single number (no RGB triplet)
Is there a way to display the single number (not the RGB triplet)? Here are two ways to explore the CData in your image interac...

circa 2 mesi fa | 0

| accettato

Risposto
Professor needs specific color for bar graph, but the hex code for the color is not working.
Color options for bar(__,color) are described in the documentation and include short names (e.g. 'r') and long names (e.g. 'red'...

circa 2 mesi fa | 0

Risposto
how to change inputdlg & questdlg & listdlg ICON?
This addresses your question https://www.mathworks.com/matlabcentral/answers/91579

circa 2 mesi fa | 1

Risposto
Problem passing a function handle into icare
A_cen and B_cen are functions that require 1 input. Fill in the 2 blanks below. The input to A_cen should have at least 3 elem...

2 mesi fa | 0

Risposto
Weird behavior for pagemrdivide matlab 2022b vs 2022a
Be on the lookout for the next update (update 4) to MATLAB R2022b. 3 Ways to check for MATLAB Updates https://www.mathworks.c...

2 mesi fa | 0

Risposto
Plot property 'DateTimeTickFormat'
When tick label format is not specified, datetime tick labels are automatically selected based on the range of your data and the...

2 mesi fa | 1

| accettato

Carica altro