Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2 998 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

  • Master
  • Thankful Level 4
  • 24 Month Streak
  • Personal Best Downloads Level 4
  • Explorer
  • 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
How to split cell array made by matrix?
% c is a 1xn cell array where n is an even number n = numel(c); c1 = c(1:n/2); c2 = c(n/2+1:end);

1 jour ago | 0

| accepted

Answered
How to keep information private?
Try editing your community profile to change your name. https://www.mathworks.com/matlabcentral/profile/community_profile/edit...

1 jour ago | 0

Answered
How to eliminate gap between tile charts
Update to Matlab R2021a to take advantage of the new tile spacing when TileSpacing is set to none. See New in R2021a: Improveme...

1 jour ago | 0

Answered
Comparison among numbers, pls help!
The difference is likely due to round-off error due to floatling point representation To test for equality while ignoring round...

2 jours ago | 2

| accepted

Answered
Matrix insertion to a txt-file
Another way to do this is by using formattedDisplayText() which became available in Matlab R2021a (see Community Highlight). ...

2 jours ago | 0

Answered
create many bar plots with loop process
If you want all 20 axes on the same figure, the bars will be quite tightly packed. Consider breaking up groups of axes into sepa...

3 jours ago | 0

Answered
Set non-uniform axis - extension of certain part of y-axis.
The y-axis in your image is log-scaled and flipped. However, log(0) is undefined (it's -inf in matlab) so the 0-tick in the im...

3 jours ago | 0

Answered
Quiver with color: Add-on
You can plot each quiver arrow in a loop to individually control the colors. This demo assigns color according to the magnitude ...

4 jours ago | 0

| accepted

Answered
compass plot label FontSize
compass() still uses the old polar axes that are actually cartesian axes with circles and radii to appear as polar axes. The ti...

4 jours ago | 0

| accepted

Answered
Restrict panning and zoom limits over multiple axes
You can assign a listener that responds to changes to xlim|ylim in one pair of axes and updates the other pair of axes while mai...

4 jours ago | 0

Answered
How can add an image to the plot that moves according to the x,y coordinatates?
Demo 1 shows animation of a car, demo 2 shows animation of a rectangle. Also see this answer that animates a truck crossing a ...

4 jours ago | 0

| accepted

Answered
How to do cla reset UIAxes in ML2021a
On what version of Matlab has that syntax ever worked? Even on regular axes, the error message appear. fig = figure('Visible',...

4 jours ago | 1

| accepted

Answered
To build a 3d room with 4 walls
> can you help in finding the patch I can help you understand the concept so you can apply it to your thesis work. There are...

5 jours ago | 0

| accepted

Answered
Hyperlink in App Designer
For Matlab R2021a or later, use the uihyperlink function or the UI hyperlink component in App Designer or a uifigure to add and ...

6 jours ago | 0

Answered
making a figure always on top
Update (10 years later) Starting in Matlab R2021a you can set figures created by uifigure to always be on top of other windows....

6 jours ago | 0

Answered
Programatically selecting cells in a uitable
Starting in Matlab R2021a, you can programmatically scroll to any row, column, or cell of a uitable using the scroll function (s...

6 jours ago | 0

Answered
Extracting 3 columns from a dataset into a new data set
Join a column of dates with a column of times - datetime format Assuming you're working with datetime values in both columns, t...

6 jours ago | 0

| accepted

Answered
How do I use the rectangle function in a GUI axes using AppDesigner?
To specify the parent handle, use the parent name-value pair, but the syntax you used should have also worked. rectangle('Posit...

6 jours ago | 0

Highlighted


Four New App Features in MATLAB R2021a
*Four (of many) new features for Apps in MATLAB R2021a* These four new features are the solutions to many inquiries in the An...

6 jours ago | 5

Answered
Modify Tab Order of App Designer GUI
Modifying the stack order of components in App Designer became available in r2020b. https://www.mathworks.com/matlabcentral/an...

7 jours ago | 0

Answered
Converting name of month to number
Another way to convert month names to numbers that is quite flexible in ignoring case and accpeting month appreviations. Requir...

7 jours ago | 0

Answered
convert normal GUI cordinates to normalized cordinates
The best solution would be to do the manual labor of changing the units for each component in the code that creates the GUI. It...

7 jours ago | 0

Answered
Explanation of "Position" in uitable
The position and units property can be found on the Properties page of UITables Position property of uitables Units property ...

7 jours ago | 0

Answered
How to Convert the negative Zero into Positive Zero in my code?
Any time you see a negative 0 you can bet that the number contains a very small decimal value that is negative. For example, ...

9 jours ago | 0

Answered
Combine histograms in a bar plot
I think what you want is to produce a histogram with data that already contains the bin counts rather than using the histogram f...

9 jours ago | 0

Answered
Matlab: Split and Plot the training data set and test data set.
I'll point you in the right direction toward the tools you need to complete your assignment. >First, divide the data into tw...

9 jours ago | 1

Answered
Drawing fancy box plots
Here are examples using boxchart (requires Matlab r2020a) and boxplot with slightly different outcomes. rng('default') x = -...

9 jours ago | 2

| accepted

Answered
Boxplot and histogram in one plot
This method uses patch objects to display histograms next to each boxplot. It's based on another answer that displays probabilit...

9 jours ago | 1

| accepted

Answered
Change both transparency/opacity and marker size in legend of plot
Only one output to the legend function is documented. When you use additional undocumented outputs it causes all sorts of probl...

11 jours ago | 0

| accepted

Answered
Customize tick values in boxplot
Use the Labels input option. boxplot(rand(20,3),'Labels',compose('%dkW',[50,150,300])) > I tried changing tick-values You wo...

11 jours ago | 0

| accepted

Load more