Community Profile

photo

Adam Danz


University of Rochester

1,207 2014 年以降の合計貢献数

Finishing PhD soon.
Vision science; neurophysiology (single unit); sensory-motor feedback and control; control systems; steering & navigation; multisensory integration; top-down bottom-up feedback loop.

Helping others is the greatest learning opportunity.

University of Rochester, NY
New Bulgarian University, Sofia Bulgaria

EMAIL:
I only reply to emails about my file submissions. If you want to bring a question to my attention, send the link to the question.

連絡する

Adam Danz's バッジ

  • 12 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Revival Level 3
  • Knowledgeable Level 4
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Low Pass filter for big experimental data set
My hunch is that x1 should be a vector (not a matrix) and that Fx is a column vector. If this hunch is correct, the solution ...

1日 前 | 0

| 採用済み

回答済み
Put workspace data into menu and prompt someone to select it
You weren't saving the user's selections (menu outputs). The output to menu is an index of the user's selection. Use those ind...

2日 前 | 0

| 採用済み

回答済み
Return data from GUIDE on figure close
To delay a GUIDE-GUI output until the GUI is closed, follow these steps. A functional demo is attached that produces an empty G...

2日 前 | 0

| 採用済み

回答済み
Placing annotations at specific xy coordinates
Annotations are a pain to use unless the axes are normalized to 0:1. I see no reason why Matlab cannot allow users to specify t...

2日 前 | 0

| 採用済み

回答済み
Carrying over variables in app-designer
Avoid using global variables. Instead, you can define a new property of your app that stores the fileLoc data. The process is...

2日 前 | 2

| 採用済み

回答済み
How to ask the user how many file extensions to search for
That's too much work (for you and the user). Instead, the user could just list all file extensions in the first dialog, separat...

2日 前 | 1

| 採用済み

回答済み
Having trouble using cell2mat
You were on the right track. You're reading the data as cell array of strings so you need to convert the data to numeric using ...

3日 前 | 0

回答済み
Copying a matlab gui to a different directory
This is among the common problems with GUIs produced in GUIDE. Many volunteers in this forum are not shy about their disdain fo...

3日 前 | 0

回答済み
Is it possible to draw a bar plot with percentage lines?
Use cumsum() to compute the cumulative sum of each bar height. Then you can normalize it to the max bar height (this is how I i...

3日 前 | 1

回答済み
How to count date occurrence independently of year?
This solution creates a table (T) that lists all month-day combinations in your data in 1 column and the count in the 2nd column...

3日 前 | 0

| 採用済み

回答済み
unexpected string scalar error?
There are 2 required inputs and 1 optional input to taylor() followed by optional name-value pair arguments. Your call to taylo...

3日 前 | 0

回答済み
How to compare a coefficient from two regression
One way would be to compute the 95% confidence interval of the regression coefficients and determine whether they overlap (which...

3日 前 | 0

回答済み
Alternative to "drawnow" to plot real time data inside while loop
"Are there alternatives to "drawnow" to plot complex data in real time?" I can think of two things to try. 1) instead of call...

3日 前 | 0

| 採用済み

回答済み
how can i add two matrix vertically with different column
Bpad = padarray(B,[0,numel(A)-numel(B)],'post'); C = [A;Bpad]

3日 前 | 1

回答済み
Converting time data to plot
After you convert to datetime, keep it in datetime format. There's no need to convert it to char. From r2016b onwards, you c...

3日 前 | 1

回答済み
How to put uitable in new figure using GUIDE?
You can keep the UI table on the main GUI window and toggle its visibility using the "Visible" property. When the UI table is n...

3日 前 | 0

| 採用済み

回答済み
Count how many elements are present inside arrays
Here is an anonymous function that can be applied to any two vectors. The vectors can be any lengths and any orientation (row or...

4日 前 | 0

回答済み
remove repeated rows to produce two new matrices
% Convert b to [first,last] non-zero per row b2 = splitapply(@(x)x([find(x~=0,1,'first'),find(x~=0,1,'last')]),b,(1:size(b,1))....

4日 前 | 0

| 採用済み

回答済み
Does the One-way ANOVA test on MATLAB check that the conditions for applying ANOVA are met?
Great question, +1 Matlab does not perform any assumption checks to my knowledge. So yes, you need to perform those tests pr...

4日 前 | 0

回答済み
Change "Items" in a Discrete Knob with another knob
For Knobs (continuous) There are a few things wrong with your callback function. I've listed them in order of importance. Th...

4日 前 | 0

| 採用済み

回答済み
average RGB values from list of pixels.
If x is your 1xnx3 array, meanRGB will be a 1x3 vector of the average rgb values. meanRGB = mean(squeeze(x),1); Here's th...

4日 前 | 0

回答済み
How to get normalized coordinates of an ROI?
"How do I convert these pixels to normalized cooridinates? " You can do the conversion yourself by dividing the ROI pixel dimen...

4日 前 | 0

| 採用済み

回答済み
How to draw the below type of graph in MATLAB?
"Feb" in your excel file has a $ character which needs fixed. If you have many excel sheets, you can fix it from within the cod...

5日 前 | 3

回答済み
Find a raw position referred to a value in a matrix
rowNum = find(any(A > 2000,2),1,'first');

6日 前 | 0

| 採用済み

回答済み
fmincon and Getting "Solution" Before Convergence Tolerance is Hit
From the Editor, press the pause button (first panel below). Execution will eventually pause but it may not be within the funct...

6日 前 | 1

| 採用済み

回答済み
How I can solve, index exceeds matrix dimensions
The code that contains the problem is copied below from your pdf attachment. The error happens when 'o' becomes larger than the ...

6日 前 | 0

| 採用済み

回答済み
Plotting 3D scatter plot from elements in a matrix
m = randi(100,47,4); % Here is your (fake) 47x4 data [x ,y] = ndgrid(1:size(m,1),1:size(m,2)); % produce x and y coordi...

6日 前 | 0

| 採用済み

回答済み
Why can't I use a variable to put all .txt files in a directory into an array?
Here's a bunch of feedback. 1) don't use "clear all". Here's why: link. clc clear % clear all % avoid doing this. 2)...

6日 前 | 0

回答済み
Migrated GUIDE to App Designer -- App partially off screen
Open the app in appdesigner. In the component browser, select the main figure. Then check the "Position" property and deter...

6日 前 | 0

| 採用済み

回答済み
Why am I not getting the full output from my for loop?
Try this (shot in the dark) idx = [12 19]; for i = 1:numel(idx) for k = 1:16 x{k} = [S1{1,idx(i)}.t_data*1e3,S1{1,i...

6日 前 | 0

Load more