Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2 498 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
Saving the application (Appdesigner) together with provided inputs
"I want to provide a button in the program such that it saves the program together with selected options and provided inputs." ...

ungefär 2 timmar ago | 0

Answered
How to continue for loop if file not found?
First, "file_path" should be filepath to match the pre-defined variable name 3 lines above. Second, if the filepath does not e...

ungefär 3 timmar ago | 0

| accepted

Answered
Why cant i see my radiobuttons ?
From the documentation, Setting Property Units Note that if you are setting both the FontSize and the FontUnits properties in...

ungefär 4 timmar ago | 0

| accepted

Answered
How can i merge several subplot in one figure
It looks like you might be using a stackedplot which currently support adding objects to the axes after the plot is created. ...

ungefär 4 timmar ago | 0

Answered
How do I calculate an exponentially weighted moving mean?
"At the moment, is it just adding a weight to all of the elements and then finding the moving mean? " From the documentation, ...

ungefär 4 timmar ago | 0

Answered
Copy an independant figure to panel in app designer
You have to copy all desired objects from the figure listed in the figure's "children" property. Here's a demo that copies al...

ungefär 4 timmar ago | 0

Answered
Vector to one cell in excel
As dpb mentioned, you'll have to convert those vectors to strings.

ungefär 5 timmar ago | 0

Answered
Plot appearing in new figure?
The Slider.ValueChangedFcn function is invoked by the slider and calls createSurfCylinder(). That's where the additional figure...

ungefär 5 timmar ago | 0

| accepted

Answered
Trying to Plot cell array data
"What I am trying to do is create a sort of bar graph that has the left most point of the bar start at first value (0.5) in the ...

ungefär 6 timmar ago | 0

| accepted

Answered
How to form an array with the input values
The use of input() to collect data from a user is highly unconstrained and gives you, the programmer, very little control over t...

en dag ago | 0

| accepted

Answered
How to display repeated sequence of answer of conversion in a single msgbox?
Demo: msg = {'First line','Second line', 'Third line'}; msgbox(sprintf('%s\n',msg{:})) Ignore the appearance of the msgbox ab...

2 dagar ago | 0

Answered
How to insert a Data Cursor on a specif location from command ?
Update: as of r2019b you can use datatip(__) to programmatically place a data tip. Demo: fig = figure(); ax1 = subplot(1,2...

2 dagar ago | 0

Answered
How to set data cursor to max value programically?
Update: as of r2019b you can use datatip(__) to programmatically place a data tip. Demo: fig = figure(); ax1 = subplot(1,2...

2 dagar ago | 0

Submitted


getDataTips - Get data tip text and handles
Extract data tip text and handles.

2 dagar ago | 2 downloads |

Thumbnail

Answered
clusterization of data in 1-D vector
There are lots of alternatives. Input A is a vector of 1s and 0s. n is minimum number of 0s between 1s separate groups of 1s....

4 dagar ago | 0

| accepted

Answered
Mean of Normal Distribution
"Is there any way to apply the function to all columns?" Yes, use varfun(), assuming the table contains all numeric values. mu...

4 dagar ago | 1

| accepted

Answered
Topography in a pcolor graph
The types of graphics objects that can be plotted to geographic axes are limited. For wind velocity, quiver arrows would be nic...

4 dagar ago | 0

| accepted

Answered
Binning/Sorting 3D data sets
Excluding reading-in the data (first line), this entire solution takes about 0.25 seconds which is 845 times faster than the ori...

4 dagar ago | 0

| accepted

Answered
While loop problems finding lowesst value
"I dont understand whats wrong with my code" Let's go line-by-line. odd = rem(x, 2) ~= 0 Odd numbers are whole numbers. rem...

4 dagar ago | 0

Answered
How do you store input to a list?
Store responses in a cell array n = 5; %number of questions you're asking response = cell(n,1); ecprompt='Counts of Equati...

4 dagar ago | 0

Answered
Boxplot with multiple figures
Turn the first input into a vector, boxplot([HAL; one2three],group); % ^ or use a matrix without a grouping variab...

4 dagar ago | 0

| accepted

Answered
How to get index and color matrix from Data cursor
"Is there a way to get the index and color matrix to the workspace?" Method 1: use getDataTip getDataTip is a function on the...

4 dagar ago | 1

| accepted

Answered
Function requires more inputs
"I need MatLab to sum the w values one at a time until it reaches the last and 5th w value" B = cumsum(w) "...as well as multi...

5 dagar ago | 0

Answered
if it is greater than 75 percent missing data
Here's an approach you can apply to your data, % Create a table of year-month-day-hour-min-second-rain data with some of the h...

5 dagar ago | 0

Answered
How to created a dashed box around a specific set of data on a plot
Use rectangle('Position',pos) to draw a rectangled within a subplot. The labels in subplot #6 are not appearing because you're...

5 dagar ago | 0

Answered
Tiledlayout issues: colorbar title and spacing
"At first, it seemed like a good solution to some of the difficulties with subplot, but I'm finding it comes with it's own diffi...

8 dagar ago | 0

| accepted

Answered
Scatterhist function not allowing for boxplot on the y-axis to stay
It looks like you're trying to add a boxplot to the y-historgram axes. Recall that the y-histogram in scatterhist is reversed. ...

8 dagar ago | 0

Answered
How to put a boxplot on a scatterplot/histogram?
scatterhistogram() is its own class and does not provide access to its axes. Instead, use the older scatterhist(). It's output...

9 dagar ago | 0

Answered
Data points in regression with different colors and shapes
Since you collapsed M into a column vector using M(:) and Y apparently has the same size and shape, then your linear model has 1...

9 dagar ago | 0

| accepted

Answered
How to display data on plot without overlapping displayed data.
You could rotate the text to 45 degrees (or any angle) using text(___, 'rotation',45)

9 dagar ago | 1

| accepted

Load more