Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

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

2 giorni ago | 0

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

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

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

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

3 giorni ago | 1

| accepted

Answered
Avoiding loops in bootstrap
Bootstrapping is an iterative process. Even if you use a method that doesn't require you to write a loop, the functions you're ...

3 giorni ago | 0

Answered
How to remove the sec from the time when Timetable writing to .txt file?
Convert timetable to table using T = timetable2table(TT) Convert the duration column using S = seconds(X) Write that table usi...

4 giorni ago | 0

| accepted

Answered
How do you mark and extract an area from an imagesc-figure?
"I would like to manually mark a certain area and extract the data within this area." There's a few things you could do. Check...

4 giorni ago | 0

Answered
Plotting only the year of a column vector with full date
Use xtickformat or datetick Demo: dt = datetime(1999,01,01) + days(1:100:5000); y = rand(size(dt)); ax = gca(); plot...

4 giorni ago | 0

| accepted

Answered
what is the value for L2 regularization coeff, by default,while training?
I think you're looking for the L2Regularization Solver Option.

4 giorni ago | 0

Answered
how to make intervals in a bar graph
For continuous intervals Since your intervals are continuous, you should be using histogram() instead of bar(). histogram('Bi...

4 giorni ago | 0

Answered
Does Ctrl+C interrupt after executing all commands in a line?
Q1 & Q2 & Q3: No. If ctrl+c is pressed before that line is executed or perhaps even while that line is executed it will be int...

4 giorni ago | 0

| accepted

Answered
change the lines' widths in a stem plot, without changing the markers edges widths?
Method 1: Set markers separately x = 1:10; y = [2 5 4 1 2 4 1 8 1 2]; figure() stem(x,y,'b-','LineWidth',3,'Marker','none') ...

5 giorni ago | 0

Answered
Error using table2array -- Input argument must be a table.
I don't see a question. Apparently app.UITable.Data isn't a table. This can happen when the data are from the same class. In...

5 giorni ago | 0

Answered
how to assign colour to a double plot by clicking on graph in UIAxes appdesinger Matlab (R2020a)?
Line color can be changed when the figure is in Edit-plot mode by right-clicking on the line which shows the lines context menu ...

5 giorni ago | 1

| accepted

Answered
x-axis error when adjusting axis label
What appears to be x-ticks in the compact boxplot are really text labels that are a member of an hggroup along with the boxplot ...

6 giorni ago | 0

| accepted

Answered
Capturing and Saving an image of a running using code in Matlab's Appdesigner
Staring in Matlab r2020b, the exportapp() function saves an image of your app or uifigure. See this Community Highlight for a...

6 giorni ago | 0

Answered
Analysing the user's input to see if it's a number or not
"inputs had to be integers/real numbers and that the start time had to be smaller than the stop time with the increment being ap...

6 giorni ago | 0

Answered
How to switch the position and values of X and Y axes?
"I need to switch the position and values of X and Y axes in plotting colormaps" Do you mean instead of imagesc(x,y,c) you want...

6 giorni ago | 0

| accepted

Answered
How to specify input arguments of a structure in a 'for' loop separate to field argument
This is why long lines of code should be broken up into separate lines. resultsMatrix = struct('TrialOrder', {}, 'TrialType', ...

6 giorni ago | 0

| accepted

Answered
How do I understand the following code?
The best way to understand it is by using the help or doc commands to look up each function name. At the top of each page you'l...

6 giorni ago | 0

Answered
How can I add a joining line between each iteration loop of scatter points
>How can I add a joining line between each iteration loop of scatter points Use plot3() instead of scatter3(). For example, ...

6 giorni ago | 1

Answered
convert Julian Date to yyyy-mm-dd
Are you looking for this? datetime(25856,'convertfrom','juliandate','Format','yyy-MM-dd') which makes sense given, datetime(...

6 giorni ago | 0

Answered
How to open a window after pushing a button
Check out the description for the ButtonPushedFcn in uibuttons. https://www.mathworks.com/help/matlab/ref/matlab.ui.control....

8 giorni ago | 0

Answered
If statement with multiple variables, or if the variables can be shortened.
if 0.6<=a && 0.6<=b && 0.6<=c && 0.6<=d && a<.10 && b<.10 && c<.10 && d<.10 dime = 1; end or if all(0.6 < [a,b,c,d]) && ...

8 giorni ago | 0

| accepted

Answered
Can we Assign "Z Axis" 'Label' and 'Range' to UIAxes in matlab appdesigner (R2020a)
The z axis is the 3rd dimension but your plot is 2D. You yyaxis to assign an independent label to the right y-axis. Then link ...

8 giorni ago | 1

| accepted

Answered
left side are not compatible with the size of the right side.
Your cramer function defines b as b=[]; The loop within that function tries to store the empty value of b in B(:,i) which is ...

8 giorni ago | 0

Answered
How do I plot multiple lines of best fit on a scatter plot?
See inline comments for changes. The most significant change is using refline() to plot the regression lines based on the fits....

8 giorni ago | 1

| accepted

Answered
Legend does not have the right color every two plots.
"Legend does not have the right color every two plots" That's because you're adding two lines on each iteration of your loop. ...

8 giorni ago | 1

| accepted

Answered
Problem with feedforwardnet function: not enough input arguments
Going all the way back to Matlab r2015b (the earliest version that provides access to documentation), feedforwardnet has always ...

8 giorni ago | 0

Load more