Community Profile

photo

Adam Danz


University of Rochester

1.531 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 3
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 12 Month Streak
  • Guiding Light
  • Revival Level 3
  • Knowledgeable Level 4
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
Kruskal Wallace Test on Column
The p = kruskalwallis(x) test works on columns of x. If all of your tables have the same number of rows, you just have to extra...

alrededor de 2 horas ago | 0

Answered
How do I display two separate tables with 2 column headings the same side-by-side?
First you need to pad the shorter table so it matches the same number of rows as the longer table. The two decisions you need t...

alrededor de 2 horas ago | 0

Answered
Display only timeseries years
Based on the image you shared, your data are arranged in a table, not a timetable. Using a timetable will be useful so you can ...

alrededor de 3 horas ago | 0

| accepted

Answered
How do I add an array to a table?
If you're adding a new column of data to an existing table, the column must have an equal number of elements as all other column...

alrededor de 3 horas ago | 0

Answered
How to remove elements from the vector while we save the index of those removed elements?
I'll admit to still not fully comprehending the problem though that fault may be on my end. From what I understand you want to ...

alrededor de 19 horas ago | 0

Answered
when use online matlab how can I translate my result to my computer
You can save variables and figures using the standard save-commands. Those files will be saved to your Matlab-drive where you c...

alrededor de 23 horas ago | 0

| accepted

Answered
How can I move the vertical line in an axes by a slider within a GUI?
Instead of drawing a new line using vline(), draw the line just once and then use the line handle to update its positoin within ...

alrededor de 23 horas ago | 0

Answered
Problem with a yyaxis plot
You're missing a semicolon x = linspace(0,25); y = sin(x/2); yyaxis left; plot(x,y); % ...

alrededor de 23 horas ago | 0

Answered
get the location of points in a plot by mouse interaction in app designer
That call back function in that answer uses fprintf() to display the results in the command window. To display the results as te...

2 días ago | 0

Answered
Making a histogram with two variables in the same graph
binEdges = 12000:100:19000; h1 = histogram(z1,binEdges); hold on h2 = histogram(z2,binEdges);

2 días ago | 0

| accepted

Answered
How to extract component of vector from a struct with fields across each field
To extract all element from the DisplAtReferenceTemperature fields, add square brackets (or curley brackets to store values in ...

2 días ago | 1

| accepted

Answered
Z must be at least a 2x2 matrix
In this line below from your code, T(X,Y) must be at lease a 2x2 matrix and it apparently is not. contour(X,Y,T(X,Y),10,'Show...

2 días ago | 0

Answered
Error using speech2text
Update: checklist of requirements I am not a contributor to the speech2text FEX submission. Here is a list of requirements sum...

3 días ago | 0

Answered
How to make the legend fully shows in the plot
Reduce the vertical position of the legend. legend(. . .,'location',[0.32,0.97,0.37,0.05]); % [1] [2]...

3 días ago | 0

| accepted

Answered
How do I change the pointer property on a UI Figure?
As of r2019b the Pointer functionality is not supported for UIFigures. However, you'll notice that there is a Pointer property ...

3 días ago | 1

Submitted


Patch for annotationPane errors in GUIDE [Beta]
A patch to the problem of editing GUIs in GUIDE in r2019b (and later?)

3 días ago | 7 downloads |

Thumbnail

Answered
app designer how to make zoom out for my plot ?
Here's a review of zoom methods in App Designer UIAxes (current relase: r2019b). This topic continues to come up in the forum...

3 días ago | 0

Answered
How to zoom in/out on the figures in app designer
Zoom methods for App Designer axes are different for various Matlab releases. Here is a guide on zooming and panning UIAxes i...

3 días ago | 0

Answered
how can i stack different values on one axis?
"I'm really looking for one easy function" plot(X,Y) does that where each column of inputs produces a line. Here's a demo. x...

3 días ago | 0

Answered
How to access app designer variables in the script file
Don't use assigning() or eval(). That opens a can of worms. Here are two alternatives. Each method includes a demo but you'll...

4 días ago | 0

Answered
How to write values from two different cell arrays to a text file in a specific format?
Hi Matthieu, in your example, { "audioData":[5972,20250,22901,31500,41650,51342,54028], "distractorData":[3379,42...

4 días ago | 0

Answered
From cell array to matrix
This produces a 100x10 matrix and can be applied to several fields of rsk.data. tstamp = [rsk.data.tstamp]; For fields that co...

4 días ago | 0

| accepted

Answered
Adding a column every nth column without replacing existing one
The variable n indicates every n-columns that should be 0s. It must be an integer greater than 1. See inline comments for de...

4 días ago | 1

| accepted

Answered
Filling area with pattern
Hi shane, filling with a pattern isn't trivial so I recommend the functions listed in the file exchange. However, here's a fai...

4 días ago | 0

| accepted

Answered
Stem plot with minimal spaces between lines
"The Only things that make me in trouble is now the legend problem, I have three data 1, data 2, data 3." Method 1: turn off Ic...

4 días ago | 0

| accepted

Answered
Avoiding many if-Statetments in a for-loop
I'm assuming the local functions provided are just demo functions. If those functions can be vectorized, it's very likely that ...

4 días ago | 1

| accepted

Answered
How can I find the parcentage of values in a vector that are bigger than 5.
" I want to calculate the number of values in that vector that are bigger than 5" p = sum(v>5)/numel(v); If there are NaN val...

4 días ago | 0

Answered
ttest NaN result is NaN and i am a beginner
Since this topic continues to surface within the forum, here's a summary of reasons why NaN values may appear in a ttest() outpu...

5 días ago | 2

| accepted

Answered
Correct way to detect Zero crossing
The entire function can be replaced with y = I<1e-8; which will return a logical (true | false). If you want a double (1 | ...

5 días ago | 0

Answered
Why does polyfit not exist in r2019b?
It does exist in r2019b. https://www.mathworks.com/help/matlab/ref/polyfit.html You have a variable with the same name so Matla...

5 días ago | 0

| accepted

Load more