Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2.913 total contributions since 2014

Email: feel free to contact me regarding my shared files on the file exchange. I don't do free consulting outside of the forum so if you have a Matlab question, post the question to the forum and you may email me the link to the question.

About me: Finishing PhD soon on topics related to vision science; neurophysiology; sensory-motor feedback and control; control systems; steering & navigation; multisensory integration; top-down bottom-up feedback loop.

"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

Contact

Adam Danz's Badges

  • Thankful Level 4
  • 24 Month Streak
  • Personal Best Downloads Level 4
  • Explorer
  • Ace
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 3
  • Knowledgeable Level 4
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
Writing titles and x/y labels inside a for loop and if-statements
The problem seems to be that you're not providing axis handles so all of the graphics commands are being applied to the same ...

1 día ago | 0

Answered
How can I put a symbol (~) above a letter?
An alternative to using LaTeX to represent a diacritical character in a text object is to use a combining character to join a gl...

1 día ago | 0

Answered
Scatterhist: width of Boxplot
Key points to know In h=scatterhist(__), h is a 1x3 array of axis handles where h(1) is the scatter axes, h(2) is the horizonta...

3 días ago | 0

Answered
Tiled layout with boxplot and 'Padding', 'none'
Why this is happening The boxplot function uses a local function setLabelappdata() to adjust the axes' OuterPosition, PositionC...

3 días ago | 0

Answered
Is it possible to have larger (than 16-by-16) pointer size?
> Is there anyway that I can make the pointer larger than 16-by-16? Update: Starting in r2016b PointerShapeCData can be 16x16 o...

3 días ago | 1

Answered
How do I find built in sounds?
See Example Audio Data toward the bottom of this list. help audiovideo To find the location of a file, which chirp.mat

3 días ago | 0

Answered
Is it possible to Plot a Music Visualizer?
If you search the internet for "matlab audio analysis" you'll see very many relevant hits across many platforms. Plus, there's ...

3 días ago | 0

Answered
Binning a 3D scatter plot
3D density plot demos Here's an assortment of 3D density visualizations though there are many other ways to visualize 3D densit...

3 días ago | 0

| accepted

Answered
change color in uilable
The FontColor property of uilabel affects the entire label. There is no built-in method of coloring parts of labels. As a wo...

4 días ago | 0

| accepted

Answered
Order of legends in stacked bar plot
Stacked bars are stacked upward. That means the bottom layer of bars show column 1 of the input matrix and the top later of bar...

4 días ago | 0

Answered
xlim listener for zoom reset and linkaxes strange behavior
Starting in r2021a, you can supply a LimitsChangedFcn function the x-axes (or any of the x/y/z axes). This callback function ov...

4 días ago | 1

Answered
readjusting Y limits on subplots
Another approach is to use linkaxes to link the y-axis limits of all subplots. When combined with axis tight, that y-axis range...

4 días ago | 0

Highlighted


New in r2021a: LimitsChangedFcn
*New in r2021a, |<https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.decorator.numericruler-properties.html#bun6izd-...

4 días ago | 2

Answered
How to apply a colormap to rgb image ?
As the error message indicates, for the syntax colormap(target,map), target is an axis handle but you're not supplying an axis h...

5 días ago | 1

| accepted

Answered
I am wondering if this a no output no input function. If it is not what type of function is it?
Functions do not have to have inputs or outputs. For example, this function below searches for invisible figures and makes th...

5 días ago | 0

Answered
Use two colormaps on 3D figure.
Follow this demo. The colorbar ranges approximately from -6 to 8 and the transition between Winter and Summer colormaps happens...

5 días ago | 1

| accepted

Answered
Resorting Rows in a Table with Panel Data
See sortrows. If there are any problems implementing that function, show us what you've got and we can help straighten it out...

5 días ago | 0

| accepted

Answered
App designer - how to use numpad instead of number keys?
Place a break point at the top of the UIFigureKeyPress function. Press a numpad key and look at the value of event.Key to deter...

5 días ago | 1

| accepted

Answered
How to add spaces between bars on a histogram
> I would like to add a space between each bar of the histogram, with x axis of the graph being integer numbers. Sounds like yo...

5 días ago | 1

| accepted

Answered
Constant subplot size and variable figure size
I used to use that file exchange function and it has been very useful but tiledlayout is now the better option. Here's a summar...

6 días ago | 0

Answered
how to zoom on a figure with multiple axes
Multiple axes with same axis limits If the xlim and ylim properties are the same between both axes, use linkaxes or linkprop to...

6 días ago | 0

| accepted

Answered
Return variables or elements with similar corresponding values
I'm currious what you searched for. Are you looking for a Matlab function that reads in an excel file that has two columns of d...

6 días ago | 0

| accepted

Answered
Saving figure as a image
Comparing the two png files in one of your previous comments shows an upper y axis in one figure that doesn't exist in the secon...

6 días ago | 0

| accepted

Answered
Why do I keep getting this error message?
>Why do I keep getting this error message? (T(j+1,i-1)*-lamda)+(T(j+1,i)*(1+2*lamda))+(T(j+1,i+1)*-lamda)= dt*q_x(i-1)+T(j,i);...

11 días ago | 0

Answered
How to write repeating questions
I assume you're using input to prompt users to respond. This is the least robust, most error-prone method of getting informatio...

11 días ago | 1

| accepted

Answered
How to Merge Color using "Area" Command?
You can use a patch object with interpolated face color. This example in the documentation shows how to do this. Once you g...

11 días ago | 0

Answered
Graph Legend not picking up third plot marker
There are multiple objects with the green asterisk and they are higher up in the uistack than the red squares. Since you're prov...

11 días ago | 0

Answered
How to make textbox edge transparent in figure?
Right-click the textbox. From the context menu, select linestyle > none

11 días ago | 0

| accepted

Answered
Function vs Wrapper?
A wrapper function is a function that mainly calls another function with minimal additional work. Additional reading: https:/...

11 días ago | 1

| accepted

Answered
How to add a horizontal line to this graph
See yline()

11 días ago | 0

| accepted

Load more