Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2,773 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 배지

  • 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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Heat Map Cell values display
The imagesc demo in this answer produces a plot nearly identical to a heatmap and the last line allows you for format the cell l...

약 16시간 전 | 0

답변 있음
Create and fill cell array with differntly sized arrays within a function
The size and shape of data you're working with is not clear but I'm guessing from the first for-loop in your question that dat...

약 16시간 전 | 1

| 수락됨

답변 있음
What is best practice to determine if input is a figure or axes handle?
I find myself revisiting this page from time to time and wanted to share an alternative best practice to determine if an array o...

1일 전 | 0

답변 있음
How do I prevent the pointer change when I bring the mouse cursor to a graph in a figure? (Regarding the mouse pointer update in r2020a)
Axis cursors show available interactions starting in r2020a (2020a release notes > Graphics). As you've discovered, setting t...

1일 전 | 0

답변 있음
Changing axes linewidth on a stacked plot
You have to access the axis handles first. h = stackedplot(rand(10,4)); ax = findobj(h.NodeChildren, 'Type','Axes'); % use ...

5일 전 | 0

답변 있음
Random generator with constraints
> I am getting back into MATLAB and need to create a random generator that provides a matrix of 12 rows by 4 colums of numbers f...

6일 전 | 0

| 수락됨

답변 있음
Matlab Zeros, What type of matrix will I get from this?
> could someone tell me what do I get from this operation Assuming your variables are scalar (1 value) or, when multipled, pro...

6일 전 | 0

| 수락됨

답변 있음
How to find average monthly wind velocity values for given years?
Use groupsummary to compute the means for 12 months across all days/years. Demo: T = table((1:10)', randi(12,10,1), 2017.*one...

6일 전 | 0

| 수락됨

답변 있음
How to draw bar graph of different colors ?
This has been addressed in the forum many times. Examples: https://www.mathworks.com/matlabcentral/answers/553894-barcharts-...

6일 전 | 1

답변 있음
How use pcshow in GUI
The error message indicates "Functionality not supported with UIAxes". Also, the documentation for the Parent property in pcsho...

6일 전 | 0

답변 있음
Change background color of uitable row name fields
In Matlab r2019b and later, use addstyle() to control color of cells in a uitable. The uitable must be within a uifigure (such ...

8일 전 | 0

답변 있음
How to move the data to the right
It sounds like you need to shift the data to the right by adding a constant value to the x-coordinates and then assign the orgin...

8일 전 | 0

답변 있음
Loop for concentric squares
Vectorized version, sz = 20; % matrix size, square, positive integer difference = 2; % width of bands, positive inte...

9일 전 | 0

| 수락됨

답변 있음
get a field value from all elements of a structure
z = [s.A.B];

10일 전 | 0

| 수락됨

답변 있음
Alternative for nested for loop
> Is there a simpler way to do this? As long as you're preallocating the JV cell array, your approach is very simple, fast, and...

11일 전 | 1

| 수락됨

답변 있음
find intersection points of a line and a curve.
There are several ways to get the x values at each intersection of the y-value. The simplest solution is to use the intersection...

12일 전 | 2

| 수락됨

답변 있음
Data is not contained within x-axis limits
Get the handle to the line object and look at the Clipping property. If it's set to 'off' figure out what part of the code chan...

12일 전 | 0

답변 있음
progress bar in app design (GUI)
Step 0: Set up the app button Add a button to your app and add a ButtonPushed callback function. Importantly, the height of th...

13일 전 | 0

| 수락됨

답변 있음
Change title in anovan boxplot
% Generate table y = [52.7 57.5 45.9 44.5 53.0 57.0 45.9 44.0]'; g1 = [1 2 1 2 1 2 1 2]; g2 = {'hi';'hi';'lo';'lo';'hi';'hi'...

13일 전 | 0

| 수락됨

답변 있음
How do I change datetime format in stackedplot on X-Axis?
In case anyone is still looking for this solution, % Create stacked plot, set xdata as datetime values % The XData can also ...

13일 전 | 0

답변 있음
How can I get DataCursor information from stackedPlot on ButtonDown callback function?
This solution uses undocumented methods of obtaining the data tip lables (see inline comments). As with all undocumented approa...

13일 전 | 2

| 수락됨

답변 있음
Can I make sound and soundsc not make a sound when playing a constant value?
> I was exploring what a ramp sounds like [using 1:10000] I think you're interpretting the audio data incorrectly but to your d...

14일 전 | 2

| 수락됨

답변 있음
How to change the order of sections in a .mlx file?
The ol' fashion copy-paste is the only way I know of. I wouldn't be eager to support the ability to drag and drop blocks of cod...

14일 전 | 0

| 수락됨

답변 있음
Global Variables and Functions
Assign B,C,p as outputs to bifurcation_host_pops(). Do not use global variables. And in the future, please copy-paste code a...

14일 전 | 0

답변 있음
How can i alternating signs in every line in a loop
To flip the sign of every second column of a matrix, starting with column 2, M(:,2:2:end) = -1*M(:,2:2:end); Note that this m...

14일 전 | 0

답변 있음
Grouped Bar Plot with NaN GAP
I agree with everyone's comments under you question; the bar plot is much clearer with the gap. Both the color and bar order,...

15일 전 | 0

답변 있음
HOW TO PLOT THE INTERVAL OF t AND SIN
Here are the tools you'll need. These are basic Matlab 101 tools that you'll use a lot in Matlab. Define t using the colon op...

16일 전 | 0

답변 있음
How do I create a Matlab 5x5 matrix of numbers 1-100?
Use X=randi(100,1,5*5) to get random integers <=100 or x=rand(1,5*5)*100 if you want floating decimals. Then use sort() to ac...

16일 전 | 1

| 수락됨

답변 있음
How to count the number of points above and below a line
Let's say x stores all of the x-values of your coordinates. Compute the y-value on the line for each x-value. yLine = m.*x + ...

16일 전 | 0

| 수락됨

Load more