Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

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

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
build a circle using the latitude and longitude values
Here's a demo that you can apply to your data. % Define the center of the circle target = [lon,lat]; % where lon and lat are...

3일 전 | 0

답변 있음
export_fig stretch figure making unreadable
Is the problem with the fontsize? Is the export cropping the legend? Is the problem with the position of the legend? You ca...

3일 전 | 0

답변 있음
How to extract corresponding values of x-axis based y-axis values.
[z, zIdx] = mink(y,7); xz = x(zIdx);

3일 전 | 0

| 수락됨

답변 있음
How to turn off the reference lines for a Weibull Plot?
If you're trying to remove the grid lines, h = wblplot(_____); % add your inputs, get the output handle grid(h(1).Paren...

4일 전 | 1

| 수락됨

답변 있음
How to calculate date length between 2 dates
Replace 'data' with your datetime values in string format. If your datetime values are already in datetime format, replace 'dt'...

4일 전 | 0

| 수락됨

답변 있음
Why am I receiving this error when using the vartestn function?
In the code you shared, I see 3 inputs and one name-value pair. vartestn(Table.trialNum, Table.Sex, Table.ID, 'TestType', 'Lev...

5일 전 | 0

| 수락됨

답변 있음
How to extract data from all matrixes of a cell array?
For cell array "C" newArray = cellfun(@(a){{a(1,1:456000);a(1,456000:764500)}},C); newArray = [newArray{:}]; newArray is a 2...

5일 전 | 0

| 수락됨

답변 있음
How to duplicate the number of rows in a table based on frequency
T2 = T(repelem(1:height(T),T.N),:); T2.N = ones(size(T2.N));

5일 전 | 0

| 수락됨

답변 있음
Speed up frames per second
There are several steps you can take to speed up the animation. Optimize the loop See inline comments for recommendations....

5일 전 | 1

| 수락됨

답변 있음
Copying colums from table to a new table
Follow the demo; see inline comments for details. % Create 3 timetables of different heights dt = datetime(2000,1,1,0,0,0) + ...

5일 전 | 0

| 수락됨

답변 있음
How to do tiledlayout for Boxplots?
As of r2020a, you can use the new boxchart() function which is a "stand alone visualization" version of the boxplot() function b...

5일 전 | 1

답변 있음
Adding a scatter of points in different colour to a boxplot
The code in the question is from this answer. To use different colors for each group of points, you can plot the points withi...

6일 전 | 0

| 수락됨

답변 있음
Copying axes into Figure only copies the half of the actual plot.
In addition to copying the axis children, copy the axis properties, too, especially the axis limits. linkaxes linkprop

6일 전 | 1

| 수락됨

답변 있음
Connect two points with invisible vector and evenly spaced markers along the vector between them and Access Marking coordinates to draw circles around them.
Assuming P_1 and P_2 and (x,y) coordinates, the steps are compute slope between the two points choose the number of points be...

6일 전 | 0

| 수락됨

답변 있음
I need help adjusting the display axes values of a map created in matlab.
The difference between typical axis ticks and map axis ticks. The latitude and longitude labels in a map are pseudo-tick-labels...

6일 전 | 1

| 수락됨

답변 있음
Put each marker on a curve at a different color
co=jet(10); scatter(x,y,80,co,'filled')

6일 전 | 0

| 수락됨

답변 있음
Select specific rows in Matlab Table.
This demo detects groups of duplicate time stamps using the diff() function and then splits the timetable rows into 3 tables con...

10일 전 | 1

답변 있음
How can i reverse my plot?
I'm guessing you want to flip the y-axes. set(gca,'YDir','reverse')

10일 전 | 0

| 수락됨

답변 있음
Complicated colorbar question?
Option 1: use a legend for the codes and a colorbar for the continuous data The easiest and cleanest method might be to set a d...

10일 전 | 0

답변 있음
Plot multiple legend in a loop with variable
I suggest you apply this 2-step approach to your code. Step 1: Use the DisplayName property of graphics objects to define th...

10일 전 | 0

| 수락됨

답변 있음
Export graph to excel using app designer
If you're using r2020a or later, see copygraphics() or exportgraphics(). Prior to r2020a, if you're trying to access an axes in...

10일 전 | 1

| 수락됨

답변 있음
what is level of contours
If you scroll up to the top of the page you shared you'll see a section that describes properties associated with levels that ma...

10일 전 | 0

| 수락됨

답변 있음
How to add lables on each coloumn of grouped stacked bar chart?
h is the array of handled that you added as an output to the PlotBarsStackGroup function from the file exchange. To add the l...

11일 전 | 0

| 수락됨

답변 있음
Extract part of filepath and using like legendname
Make sure all slashes are forward shashes FilePath = strrep(FilePath, '\','/'); Replace any double shashes with single slashes...

11일 전 | 0

| 수락됨

답변 있음
Barcharts colours based on other vectors
This has been addressed before within the forum (example1 ,example2). The basic idea is to store the output handle to the bar o...

11일 전 | 0

| 수락됨

답변 있음
How to get pixel's position of an image in UIAxis in AppDesigner?
Description of the problem The data cursor does not work for image objects plotted in App Designer (or in any uifigure) in r202...

11일 전 | 0

| 수락됨

답변 있음
For loop through cell arrays
If you want to do this in a loop, there are 4 steps I've outlined below. "c" is the 1x4 cell array. column3Means = nan(siz...

11일 전 | 0

| 수락됨

답변 있음
How to keep count of occurence of column combination using 'for' loop?
How to check the number of occurence of pairs in the nx2 matrix A. A = [1,1;2,1;3,1;1,2;2,2;3,2;1,3;2,3;3,3;1,1;2,1;3,1;1,2;2,2...

12일 전 | 0

| 수락됨

답변 있음
Matlab App Designer UIAxes same scale for x and y axis
Check out linkaxes and linkprop. Use them to set the axis limits and, if needed, other axis properties between two axes. The ...

12일 전 | 1

| 수락됨

답변 있음
How to extract data efficiently from table or 2D array?
Extracting data from a matrix/table into individual variables is the most inefficient way to use those values. Data stored in ...

13일 전 | 0

Load more