Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2,068 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

連絡する

Adam Danz's バッジ

  • Personal Best Downloads Level 4
  • Explorer
  • Ace
  • Thankful Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 12 Month Streak
  • Revival Level 3
  • Knowledgeable Level 4
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
How to plot two different styles of confidence intervals in looped subplots?
The line below from your code is plotting 30 lines for each axis. plot(ci,'LineWidth',1,'Color', [0 0 0.5],'LineStyle','--');...

約22時間 前 | 0

| 採用済み

回答済み
How can i create a code which accept the 'peaks' of a quadrilateral and then give me the area of it?(without polyarea)
Follow this algorithm. There's a link toward the top of that page that shows how to implement the JavaScript. https://www.math...

約23時間 前 | 0

回答済み
str2double conversion error
You're witnessing floating point roundoff error. In short, an infinite range of numbers must be represented in a finite number ...

1日 前 | 1

| 採用済み

回答済み
Problem adding two numbers
The value of s is reset to 0 at the start of each jj-loop. That leaves the following possible explanations as to why s is alway...

1日 前 | 0

回答済み
Colormap - contourf scaling and color distribution
Here are the changes I suggest you make. Lines that have been commented-out are lines you don't seem to need. The key change...

1日 前 | 0

回答済み
Handles in GUIDATA desappear when placed in 'CreateFcn'
"This is my first GUI and my first program so maybe this is not the best approach." Correct :) You've definitely invested so...

1日 前 | 0

回答済み
Place grid on top of patches
You can create horizontal lines for each y tick using yline() Execute these lines of code after creating your patches. You can...

1日 前 | 0

送信済み


copyUIAxes
Copies UIAxes to a new figure and recreates the legend and colorbar if they exist. Most UIAxes properties are copied, too.

1日 前 | ダウンロード 74 件 |

Thumbnail

回答済み
Missing dates in a dataset and filling in for them.
Convert your table to a timetable. Then use retime() to fill in missing dates on a daily basis. The columns will be filled wi...

2日 前 | 0

回答済み
Is there any other way to set range in if- else statement?
Explanation of the error 0<45<2 is the interpretted as (0<45)<2 or, simplifed to 1<2 where 1 is TRUE. Solution if 0<m && m<...

2日 前 | 2

回答済み
increasing the fontsize of the y-label tickmarks on a dendrogram/tree
Your y-labels aren't really tick labels. They are text objects. You need to store their handles and set their fontsize directl...

2日 前 | 0

回答済み
How is "quartely" defined in the function retime?
According to Wiki, In Gregorian calendar: First quarter, Q1: 1 January – 31 March (90 days or 91 days in leap years) Second ...

2日 前 | 0

| 採用済み

回答済み
Inserting a randomized array into a for loop
No need for the conditional statements. Use indexing instead. Indexing is the life and blood of Matlab. XA = [5 6 2 6 5 3 3 ...

2日 前 | 0

回答済み
Can I join with 1 variable and 1 value as "keyword"?
isMatch = dateMatches && ismember(T.Country, {'Austria','Belgium'}); Replace dateMatches with your date-matching code that pro...

2日 前 | 0

回答済み
classifing output inot category
isGood = score > 17; % isBad?

2日 前 | 0

| 採用済み

回答済み
only accept odd numbered input arguments
nargin counts the number of input arguments for a function. mod(x,2) returns 1 when x is odd. if mod(nargin,2)~=1 error...

2日 前 | 0

回答済み
Find the average in a window of random variables
Matlab has movmean() but it I don't think it can move by groups of n elements. This demo below computes a moving average for va...

3日 前 | 0

| 採用済み

回答済み
share data between 2 uifigure in app designer version 2017
Here's the page you're looking for in Matlab's documentation. https://www.mathworks.com/help/matlab/creating_guis/share-data-a...

3日 前 | 0

送信済み


gif2avi
Converts GIF images to AVI (or MP4) video files.

4日 前 | ダウンロード 5 件 |

Thumbnail

回答済み
Multiple Z axes in a 3d plot
Matlab does not have a method of plotting in 3D with two z-axes. To make the task even more difficult, there is no ZAxisLocati...

5日 前 | 0

| 採用済み

回答済み
How to find factorial(c) of an array of numbers?
N must be an array of real non-negative integers. To troubleshoot that error message, let's go through the list of possibilitie...

5日 前 | 0

| 採用済み

回答済み
How to add a column with all rows have the same data in a table?
Demo % Create table T = table([1;2;3;4],'VariableNames',{'Data'}); % Create date vector data = datetime('now') + (1:4)'; ...

5日 前 | 0

| 採用済み

回答済み
How to convert a GIF file to a AVI file?
I've written a function that converts GIF --> AVI based on Walter's 2018 answer. Download gif2avi() gif2avi(file) will convert...

5日 前 | 1

| 採用済み

回答済み
How to add 3rd Y-axis at right side?
Follow this example of creating 3 y-axes with two on the left and one on the right. To set the duplicate axes on the right side...

5日 前 | 0

| 採用済み

回答済み
I want to import image on app designer with drop down button
Your error message tells you exactly what you need to do. "Specify a UIAxes as the value for 'Parent'." It looks like you're ...

5日 前 | 0

| 採用済み

回答済み
Plotting Chart With 2 X Axes and 2 Y Axes
In the example plot provided in the question, the x axis is the same for both pairs of axes. To use a left and right axes with ...

5日 前 | 0

| 採用済み

回答済み
error while using Remote desktop access
This is a Windows 10 error not associated with Matlab. The error may be occuring on the remote compute or an interaction betwee...

5日 前 | 0

| 採用済み

回答済み
Pop up menu condition push button
Each of the popup menus should have a callback function that checks the selection of all 4 popup menus. Use a conditional state...

9日 前 | 0

回答済み
Setting X-Axis with Text Labels
Try this. If it doesn't work, please elaborate. set(gca,'XTick',1:6,'XTickLabel',Tools) I assume Tools is the cell array of ...

11日 前 | 0

| 採用済み

回答済み
keep the index of removed array in cell
What's the rule for matching values of S to M? For example, row 11 of M contains 2 and 5 which are both listed in S{4} but the ...

13日 前 | 0

| 採用済み

Load more