Community Profile

photo

Adam Danz


University of Rochester

1.535 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
Reorder table columns names
Hint: [~, newOrder] = ismember(T1.Properties.VariableNames,T2.Properties.VariableNames); Or, as Steven Lord points out in...

circa 13 ore ago | 0

| accepted

Answered
Find timeseries mean for 10 years
Assuming you have a vector named temperature that stores the temperatures and a vector named dt that stores the datetime stamps ...

circa 14 ore ago | 0

Answered
Check if connect 4 occurs in matrix
It's a little tricky to find a vector within a matrix when the dimensions of the matrix are all larger than the vector. I'm con...

circa 15 ore ago | 1

Answered
How to add plot points in my map?
"...how can I add the latitude and longitude of each station on my code" Since you are using the shaperead argument pair {'UseG...

circa 16 ore ago | 1

| accepted

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

circa 17 ore 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...

circa 17 ore ago | 1

| accepted

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

circa 18 ore 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...

circa 19 ore 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 ...

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

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

1 giorno 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); % ...

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

3 giorni 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);

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

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

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

4 giorni ago | 1

Submitted


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

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

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

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

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

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

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

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

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

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

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

5 giorni ago | 1

| accepted

Load more