Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

1,716 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 배지

  • Explorer
  • Ace
  • Thankful Level 3
  • Personal Best Downloads 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 do I show a line being created (like an animation) between two points inside a plot?
If needed, interpolate your data to get more or less data points. Here's an example xvalues = 1:16; yvalues = (1:16).^2; n...

약 2시간 전 | 1

| 수락됨

답변 있음
How to combine arrays in a cell from 71 x 12 to 1 x 71?
% Loop through the rows of Cmo and combine them % back into 1 table. Then sort the rows so that % they are in chronological ...

약 3시간 전 | 0

답변 있음
Adding two node labels to graph
There are lots of ways to do this. Here's a simple approach that uses labelpoints from the file exchange instead of labeling th...

약 16시간 전 | 0

| 수락됨

답변 있음
Dicom file in app designer
You just need to specify the UIAxis handle in your app. Here's a functional demo using a built-in dcm file. info = dicominfo(...

약 18시간 전 | 0

답변 있음
How to have a loop-for to filling NaN rows?
The best approach would be to do this within the j-loop from this answer (you just need to change 1 line and add 3 lines). The ...

약 18시간 전 | 1

| 수락됨

답변 있음
How to get point value in app designer plots?
Provide the app's figure handle in your call to datacursormode. The window DisplayStyle is not supported in UIfigures. The d...

약 24시간 전 | 0

답변 있음
How can I update the x axis limit inside a loop?
On the first iteration, om is all 0s so [om(1) om(end)] returns [0,0] which, as you pointed out, is not allowed when setting axi...

약 24시간 전 | 0

| 수락됨

답변 있음
Find the values before an element repeated more than 4 times.
Input: A, numeric row vector Output: valueBefore, a numeric vector of values prior to 4 or more consecutive 0s. A=[ 1 2 3 ...

1일 전 | 1

| 수락됨

답변 있음
Is it possible to use the for-loop for this purpose?
Using the cell approach where Cmo is a nx12 cell array of n station-tables for 12 months. stationList is read in as a table. T...

1일 전 | 1

| 수락됨

답변 있음
How do I write a function to convert numerical month of the year to the name of that month?
Another method to return month names given month numbers using datetime and month, monthNames = month(datetime(1, 1:6, 1), 's')...

1일 전 | 1

답변 있음
Problems with averages and storing values
Advice & hints Smart-indent your code for better readability (I already applied correct indentation to the code in your questio...

2일 전 | 0

답변 있음
creating circles for multiple points with viscircle
To plot a set of circles defined by their center points and a radius, you can use the the rectangel function with 100% curvature...

2일 전 | 0

답변 있음
Problem with obtain regression equation between 2 data sets
Polyfit is probably what you're looking for. From the documentation, "If either x or y contain NaN values and n < length(x), th...

2일 전 | 1

| 수락됨

답변 있음
How to get answers to appear as an array?
It looks like your outputs are being produced within a loop. Instead of displaying their values within the loop, collect the va...

2일 전 | 0

답변 있음
How do you randomly choose a grey bar in picture to turn white?
For grayscale images, imwrite() assumes that the dynamic range of the first input is [0,1] and automatically scales the data by ...

2일 전 | 2

답변 있음
How to write a loop for this case?
The variable "C" is a 1xn cell array where each element contains a table. Each table contains a column "date" listing dates in ...

2일 전 | 1

| 수락됨

답변 있음
R2019b tiled layout
"the colorbar looks strange" I assume you mean that the colorbar size doesn't scale with the axis size after applying axis imag...

3일 전 | 0

답변 있음
How can I find an uifigure?
You can find the uifigure handle using findall() but it's not recommended to merely find handles to all figures because it's qui...

3일 전 | 0

| 수락됨

제출됨


labelpoints
Automatically label points in your plot given x and y values & an array of labels.

3일 전 | 다운로드 수: 96 |

Thumbnail

답변 있음
hyperlink and center alignment in msgbox
If you are using App Designer or creating apps with the uifigure function, then use uialert instead of msgbox. However, neith...

3일 전 | 0

| 수락됨

답변 있음
Colorbar with diamond-shape blocks
Here are two methods to create a custom legend. Method 1: Plot dummy variables that only appear in the legend. plot(nan,nan,'...

4일 전 | 2

답변 있음
Can someone help me create a plot that resembles this figure from a scholarly paper?
I don't recommend using heatmap due to its inflexibility. imagesc will work for this figure. You'll have to add the colorbar...

4일 전 | 0

| 수락됨

답변 있음
how to convert cell to double
There are 12 elements in your cell array. Each element is a matrix but of different sizes. OUT = 1×12 cell array Column...

4일 전 | 0

| 수락됨

답변 있음
App design UI figure How to Add Excel like Sort & filter selection
My comment moved here to close out the question. ---------------------------------------------------------------- There's curr...

5일 전 | 1

| 수락됨

답변 있음
Adding a Legend with Variables as inputs
Try this. hold on for r = minr : incrr : maxr %start the plotting z = (r./lambda).*((r./lambda).^(r-1)).*(exp(-(x./r).^...

6일 전 | 1

| 수락됨

답변 있음
How do I get this function to accept one input argument, a vector representing the three coefficients of the quadratic in the order a, b, c?
You're on the right track but there's some cleaning up to do (I have only evaluated the syntax). 1) Q1_18035200 is a really b...

6일 전 | 1

| 수락됨

답변 있음
How do I display a Table on Command Window?
Here are two methods that produce that table. The first defines each column of the table. The second converts the matrix into ...

7일 전 | 0

답변 있음
Finding discrepancies between two spreadsheets in MATLAB
This uses Walter's innerjoin suggestion and then sorts the combined table back into the IssueKey order. If you'd rather use the...

7일 전 | 1

| 수락됨

답변 있음
How do you shift the data such that the centerline of the jet is at 0?
The goal isn't quite clear to me. If you'd just like to scale the quiver plots so that the longest axis fits within -1 to 1, fo...

7일 전 | 0

| 수락됨

답변 있음
How to zoom in the portion of the same contour as shown in figure
The content of the subplot merely shows a subsection of the data; it is not 'zoomed' or rescaled. You'll have to build this ma...

7일 전 | 0

| 수락됨

Load more