Community Profile

photo

Adam Danz


Last seen: Today

University of Rochester

1.911 total contributions since 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

Contact

Adam Danz's Badges

  • Personal Best Downloads Level 4
  • Explorer
  • Ace
  • Thankful 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

View details...

Contributions in
View by

Answered
Change font size in column headings in App table
As of r2020a, the fontsize of VariableNames and RowNames cannot be altered. However, the r2020a release includes a larger an...

etwa 2 Stunden ago | 0

Answered
How can i change the colours of segmentation on a chart pie?
Unforunately the pie() function does not allow you to directly specify the face color of each wedge as inputs. Here are two wa...

etwa 18 Stunden ago | 0

| accepted

Answered
How to plot pie chart in Matlab GUI using buttons?
Hint: "Labels" is not the same as "labels". Variable names are case sensitive.

etwa 20 Stunden ago | 0

| accepted

Answered
Improving readability of Matlab graph
Method 1: remove some X|YTickLabels Add these lines to then end of your code after setting the axis limits and axis ticks. The...

ein Tag ago | 0

| accepted

Answered
I am not sure how to do this coding, can you please help!!
Since this is your assignment, I'll give you hints. I can give more hints if needed but you'll need to leave a comment showing ...

4 Tage ago | 0

| accepted

Answered
imuSensor - why is the acceleration negated, when calculating the total acceleration?
Acceleration due to gravity is always negative. For example, if a falling object is affected only by gravity, its acceleration ...

4 Tage ago | 0

Submitted


copyUIAxes
Copies UIAxes to a new figure and recreates the legend and colorbar if they exist. Most UIAxes properties are copied, too.

5 Tage ago | 71 downloads |

Thumbnail

Answered
Where are the default font settings for sgtitle?
sgtitle doesn't appear to use the default fontsize properties I tested: DefaultAxesFontSize, DefaultTextFontSize, DefaultUicontr...

5 Tage ago | 0

Answered
select 20 percent between two values
Use y = randsample(n,k) to select k random elements from a vector 1:n. % recordingList is an array that contains all of your re...

5 Tage ago | 0

Answered
How to change file extension via matlab?
This shows how to List all files in a given directory with the extension .out Copy the file and rename the extention .txt De...

5 Tage ago | 0

Answered
Changing Variable from logical to double
"How change Fx type from logical to double" FxDlb = double(Fx); alternatively, FxDlb = Fx * 1; % or FxDlb = Fx + 0;

5 Tage ago | 0

| accepted

Answered
Trying to concentrate a cell containing tables
Summary of comments under the question: 1) Remove the datetime column from each table. T_noDT = cellfun(@(T){T(:,2:end)}, c) ...

6 Tage ago | 0

| accepted

Answered
Error when using (plotting) one m file data into another m file.
(Comment copied to answers section). There could be several problems and if the same variable name is used in multiple scripts...

6 Tage ago | 0

Answered
How can I clear stuck help popups?
Note: This answer does not address the problem of stuck function hints and other pop-up messages internal to Matlab. It address...

6 Tage ago | 1

Answered
How can i plot a 3D waterfall ?
What does your code look like that produces the 2D plot? If the entire matrix is the 1st and only input to waterfall(), it shou...

6 Tage ago | 0

| accepted

Answered
alternate to using "find" to determine indices?
"Is there a way to determine their indices using logical indexing...?" Yes, and logical indexing is usually a better way to ind...

6 Tage ago | 0

| accepted

Answered
put the fit messenge on text box
Assuming your textbox handle is handles.textbox, and c is the cfit object, cText = evalc('c'); handles.textbox.Max = 2; % t...

6 Tage ago | 1

| accepted

Answered
How to make this truck move across the bridge in an animation?
First of all, nice lorry (slow-clap). Here's how to make it drive forward along the x axis. You could add a Y-component of m...

7 Tage ago | 0

| accepted

Answered
varfun for a cell array?
I didn't quite get the last part of your description but this should get you started. If you have trouble completing your goal,...

7 Tage ago | 0

| accepted

Answered
Modify a plot in a for loop
The idea is to collect all of the line object handles. I've also restructured your code; see the inline comments for details. ...

7 Tage ago | 1

| accepted

Answered
How to use bar function?
See the Display Groups of Bars example in the documentation. If you have any problems setting that up, provide your data and co...

7 Tage ago | 1

| accepted

Answered
How to check for repeated values in a matrix?
If you're working with integers, check for repeated values using unique() repeatsTF = numel(a) == numel(unique(a)); However, ...

7 Tage ago | 1

| accepted

Answered
Input Argument type double
The update variable in your code is equal to 1 and is entered as the 2nd input to the clusterer but it doesn't fulfill the requi...

7 Tage ago | 0

| accepted

Answered
Using the drop down box in app designer
Problems: 1. You've got 3 variables named "value" and they all have the same value which is equal to the last of those variable...

7 Tage ago | 0

Answered
Insufficient number of outputs from right hand side of equal sign to satisfy assignment.
To address your question, an anonymous function only returns a single output. So, x = PID(. . .) % This is fine, it retu...

7 Tage ago | 0

Answered
Help with 2D plot from a matrix
Continuing from the comments under the question. Using imagesc, you can change the tick labels using set(gca, 'XTick', 1:3, ...

8 Tage ago | 0

Answered
Representing certain range of X axis using a single tick in MATLAB plot
Two options X = [1,2,3,4,5,6,7]; Y = [10,10,10,10,20,30,40]; xIdx = [1,5,6,7]; bar(X(xIdx), Y(xIdx)) ax = gca(); ax.XT...

9 Tage ago | 1

| accepted

Answered
Not sure how to fix my matrix dimension problem
t is a 1x41 vector; wd and zeta are both 1x7 vectors. You can't do pairwise multiplication with two arrays of different size. ...

9 Tage ago | 1

Answered
How can I sort an array to follow a path?
I don't know much about reading in stl files but you might want to look into options that would read in the points in different ...

9 Tage ago | 0

| accepted

Answered
Counting characters in a file
Here's a demo to count the instances of a character in a text file. This demo searches for a space character ' ' and then repl...

9 Tage ago | 0

| accepted

Load more