Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

2,681 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

詳細を表示...

貢献した分野
表示方法

回答済み
Plot not showing any data
The solution involves matlab indexing which is a very basic skill to know before making much progress. This should get you sta...

1日 前 | 1

| 採用済み

回答済み
dragging a selected point within uiaxes
HandleVisibility is set to off by default with uifigures and this prevents gcf/gca/gco from accessing the figure handle or anyth...

1日 前 | 0

| 採用済み

回答済み
Cant join 2 tables with same headers. vertcat error
The error is because of a difference in character length of the two "name" fields. Concatenation of characters into a character...

1日 前 | 0

回答済み
Using pause() and readframe() - the pause is not affecting the output
getframe and writeVideo merely store images as frames of a movie which does not affect playback speed. Follow Walter Roberson...

1日 前 | 0

| 採用済み

回答済み
Appdesigner create loop for drop down Items
See inline comments for instructions Option 1) Switch case A = [app.ColourDropDown_1 app.ColourDropDown_2 app.ColourDropDown_3...

1日 前 | 0

回答済み
How to write Latex in GUI's label?
From the startup function of your app, set the Edit Field Label's interpreter property to latex. You may need to reassign the s...

1日 前 | 0

回答済み
For-Loop for multiple plots or histograms
Put the data into a cell array and then loop through the cell array. figure tlo = tiledlayout (1,3); data = {SPNL, EXNL, NKN...

1日 前 | 0

| 採用済み

回答済み
Find minimum of single-variable function
Hint: [x,fval] = fminbnd(___) gives you the (x,y) values at the minimum. You could plug the x values into both of your optio...

1日 前 | 0

回答済み
error messeges in MATLAB app designer
There isn't a pretty solution and there is no solution that doesn't involve touching the code itself. I've often wished there w...

1日 前 | 0

回答済み
How to select different indices for each column in an array
Check out sub2ind.

1日 前 | 0

回答済み
Generating a range of curves that fit inside a set of fixed limits
1. A sophisticated way would be to fit the curve, perhaps to a sigmoid or logistic fcn, and then adjust the fit parameters to pr...

2日 前 | 0

回答済み
How can I change the line color in an 'animatedline' plot in a manner that scales with one of the variables?
There are other ways to create animation. You can segement the line and conrol the color of each segment (see "segmentation de...

2日 前 | 0

| 採用済み

回答済み
Issues with labelling bar graph along the x axis?
This shows how to convert a numeric vector to x tick labels. It includes an assertion that will throw an error if the number o...

2日 前 | 0

| 採用済み

回答済み
comparing categorical arrays in terms of content
ismember alone can answer the first point (common elements of A and B) but not the 2nd since it only tests whether elements of A...

2日 前 | 0

| 採用済み

回答済み
UIAxes plot vs Axes plot in App
> Are there any advantages in creating separate plots in UIFigure and UIAxes, versus figure and axes? My opinion: If your exis...

2日 前 | 0

| 採用済み

回答済み
How to normalize a discrete signal?
Audio data are typically already normalized between [-1,1]. Are you getting values outside of that range? min(y) max(y) Anyw...

3日 前 | 0

| 採用済み

回答済み
Subtracting XYZ coordinates defined by matrices
I think what you're asking is how to remove rows of A that are nearly equal to rows of B. Removal is different from subtraction...

3日 前 | 0

| 採用済み

回答済み
Writing the built in matlab function in simple code(like for loop, etc.)
You can use implicit expansion which is supported in Matlab r2016b and later (more info). y=[1 2 3 4]; OccurancesParameter= 5...

3日 前 | 0

回答済み
How can I find the max value and location within a matrix
[maxval, idx] = max(M);

3日 前 | 1

回答済み
Find ascii numbers from cells
Matlab stores characters as Unicode characters which incorporates the ASCII character set as the first 128 sumbols. Convert c...

3日 前 | 0

| 採用済み

回答済み
Plotting a smooth curve from points
You could add values to the beginning and end to make the curve continuing in both directions. The example below uses hard-coded...

3日 前 | 2

回答済み
How to formulate elegantly and performant functions that depend on a lot of input variables
A set of inputs like the example you shared is not inelegent. Some may argue that it's more elegant than the alternatives. Wha...

3日 前 | 0

| 採用済み

回答済み
how do correct the error in this line? print is nor recognised
"Print" is not a name-value option for that function. I think you're looking for, X1fit = estimate(modelX, Xest(:,1),'Display...

3日 前 | 0

| 採用済み

回答済み
Size issue in Matlab App Designer
If you want more flexibility over how your app automatically resizes, use Grid Layout Managers or the auto-reflow options in App...

3日 前 | 0

回答済み
How do I replace elements of an array with letters?
Sounds like you're describing this, number_cycles = 10; labels_I03 = categorical(repmat({'N'},1,number_cycles)); % set all as...

3日 前 | 0

| 採用済み

回答済み
Manipulate amplitude without using linspace
Since square returns values in the range of [-1,1], rescaling to [-2,1] is as easy as multiplying by 1.5 and subtracting 0.5 whi...

3日 前 | 1

| 採用済み

回答済み
setting axis ticks on heatmap
If you want to change the tick labels, h = heatmap(__); h.XDisplayLabels = % string array or cell array of character vectors ...

4日 前 | 0

| 採用済み

送信済み


Draw randomly centered circles of various sizes
Set the range of radii, density, and other parameters to create a plot that draws randomly centered polygons with or without ove...

4日 前 | ダウンロード 18 件 |

Thumbnail

回答済み
generating random , non uniform fiber distribution of circle in square
Using bubblebath() from the file exchange (see another demo here), figure('Color','w') ax = axes(); axis off S.axisHandle...

6日 前 | 0

| 採用済み

回答済み
Remove duplicate rows in table
Follow the demo. T is a table T.Test contains the test names which can be strings, character vectors, categoricals, or numeric...

6日 前 | 0

| 採用済み

Load more