Community Profile

photo

Adam Danz


University of Rochester

Last seen: Today 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: Recently earned a Ph.D. at the University of Rochester on topics related to vision science; neurophysiology, sensory-motor systems, control systems, steering & navigation, and multisensory integration.

"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

Statistics

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

배지보기

Content Feed

답변 있음
How to link different scaled axes for zooming in App Designer?
linkaxes has a second input that allows you to link the x,y,or both axes. However, since your y-axes have different scales, the...

약 14시간 전 | 0

답변 있음
How to reset a variable in a for loop?
The example isn't very clear but I think you want to preserve the random X values within the loop. If so, n = 10; % n...

약 15시간 전 | 0

답변 있음
List of builtin demo images
Using the wisdom shared within the two pre-existing answers to this question, I've developed a function that finds all image fil...

4일 전 | 1

답변 있음
Coloring scatter plot based on count number
Unchanged base code time = ({'25-Jul-2018 00:00:00';'25-Jul-2018 00:15:00';'25-Jul-2018 00:30:00';'25-Jul-2018 00:45:00';'25-Ju...

4일 전 | 1

| 수락됨

답변 있음
separate strings that are inside a cell
If your goal is to simply be able to read those lines, use cellfun to identify elements of cell array "C" that have more than on...

4일 전 | 1

답변 있음
Basic example of cellselectioncallback
CellSelectionCallback documentation Example in the documentation The solution to your goal will look something like this where...

4일 전 | 0

| 수락됨

답변 있음
percentages deviations during sampling physical distance with "current point" on different monitors with different resolutions
I cleaned of your snippet of code and left comments where I've made changes. I've also added a horizontal ruler with 1cm tick...

5일 전 | 0

답변 있음
How do I sort data based on another variable?
If and only if two vectors have the same number of elements, you can sort vector b according to the sorted vector a using, [aS...

6일 전 | 1

답변 있음
How to normalize rows using retmap.
I don't know what retmap is (did you mean repmat?) Anyway, this normalizes the matrix by rows as you described, % sample data...

6일 전 | 0

답변 있음
How to define a sequence that goes two directions
[12:-6:-12, 12:6:36]

6일 전 | 0

| 수락됨

답변 있음
How to debug error "Index in position 1 exceeds array bounds"?
> " How to debug error... " That's the right question to ask (+1). Knowing that there would be an error, I started by setti...

6일 전 | 0

| 수락됨

답변 있음
Plot disappears when trying to interpolate
Plotting an alphaShape creates a patch object. When set to interp, the EdgeColor property requires existing CData or FaceVertex...

6일 전 | 0

| 수락됨

답변 있음
Hello, can anyone help me to find the count of mushrooms from an image?
I'm an enthusiastic novice in image analysis so I'm not confident that this is the best (or even a good) solution but it might h...

6일 전 | 1

답변 있음
How to test if values are close togather using p-value (ttest)
The ttest assumes that data come from a normal distribution and that a reasonable large sample size is used. Your sample data a...

7일 전 | 0

답변 있음
How do you print the F-stat in a multcompare test?
You are performing a one-way ANOVA which means your null hypothesis is that there is no difference in the population means of yo...

7일 전 | 0

| 수락됨

답변 있음
Why can't I use mapcaplot?
See the documentation. The data input should be a numeric array or a DataMatrix object. Yours is a table. Also see table2arr...

13일 전 | 0

| 수락됨

답변 있음
How to get rid of this warning which point at extra entries?
Assuming [b2, b1] produces a vector with 4 handles, try this legend([b2,b1], labels{:}) or this labels = {'Electricity consum...

13일 전 | 1

| 수락됨

답변 있음
Stacked bar chart with errorbars
hold on % <--- you forgot this errorbar(x',y',err,'k','linestyle','none','HandleVisibility','off'); Also, you can replace the...

14일 전 | 0

| 수락됨

답변 있음
Spacing Xticks in plotting a function
"Value must be a vector of increasing datetime values." set(gca, 'Xtick', (0:100:1200), ... Those values above are not datetim...

14일 전 | 1

답변 있음
How to store data from DialogApp in CallingApp while closing the DialogApp in App Designer?
Follow this demo (attached). If you have any trouble, let us know where you're at and we can help you get unstuck. App1 gen...

15일 전 | 0

답변 있음
How to kill all figure windows in MATLAB?
Update close all force % or close('all','force') In R2016a, Matlab introduced uifigure which has hidden handles by default s...

19일 전 | 0

답변 있음
plotting confidence interval and creating second axis in one plot
Here's a demo that should get you started. The alignment of y=0 on the right axis with the first data point at "x" is done at ...

21일 전 | 0

| 수락됨

답변 있음
How to binning 2-d data ?
This approach uses repelem() to generate group IDs by rows. data is the input matrix. nRows specifies the number of consec...

22일 전 | 0

답변 있음
App Designer. Should I use app functions or external fuctions?
> I noticed that the "same" operations are now much slower and crashing more often than when I was not using the App designer, s...

22일 전 | 1

| 수락됨

답변 있음
Remove trailing zeros while making matrix
When combining real and compex numbers within a single array, the array will appear in compex format. Here are some ways to form...

22일 전 | 0

| 수락됨

답변 있음
How to return an array without points in the edge?
Use the logical outputs to the inpolygon function. [in,on] = inpolygon (kn, xq ,xv, yv); on indicates all data that are on the...

23일 전 | 0

답변 있음
Figure in a tab group in app designer
> is there any other reason to call 'm' files instead of just putting the code in that callback? IMO there are 2 reasons to c...

23일 전 | 0

답변 있음
How to find the intersection a root locus plot and a line with specific angle?
There may be an analytical approach that would be better than this approach but one way to do it is to get the handle of the blu...

26일 전 | 0

| 수락됨

답변 있음
How to make vertical stripes line contour plot?
dt = datetime(01,01,2000) + calmonths(0:59); % row vector vals = rand(size(dt))*6-3; % vector (row or col) plot(dt,vals,'ks') ...

30일 전 | 0

| 수락됨

답변 있음
How can i plot a boundary line in contour plot
Copy of original code with the following changes. contour(k_x,k_y,g,500) chaanged to contour(k_x,k_y,real(g),500) Commented...

30일 전 | 0

| 수락됨

더로드