Community Profile

photo

Adam Danz


University of Rochester

979 2014 年以降の合計貢献数

Finishing PhD soon.
Vision science; neurophysiology (single unit); sensory-motor feedback and control; control systems; steering & navigation; multisensory integration; top-down bottom-up feedback loop.

Helping others is the greatest learning opportunity.

(I don't reply to personal email messages through matlab central unless they pertain to one of my file exchanges).

University of Rochester, NY
New Bulgarian University, Sofia Bulgaria

連絡する

Adam Danz's バッジ

  • 12 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Revival Level 3
  • Knowledgeable Level 4
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Read dada from a file
Attached is the text file you described named xyz.txt. % Read in the file t = fileread('xyz.txt'); % Split text where '>' ...

約11時間 前 | 1

| 採用済み

回答済み
How to align axes to a point on another figure
The problem is that axis positions are in figure space (relative to lower left corner of the figure) while the data point coordi...

1日 前 | 0

| 採用済み

回答済み
Find first non-NaN in each column of array & combine into one vector
X = [2 NaN NaN NaN 4 6 NaN NaN NaN NaN NaN NaN 5 4 7 8]; X(cumsum(cumsum(~isnan(X)))~=1) = ...

1日 前 | 3

回答済み
x-axes are not coincident using multiple axes
(Copied from comments section) I'm wondering the same thing Jan asked. It should look something like this: ax2 = axes(......

1日 前 | 0

| 採用済み

回答済み
Extracting Data from Cells
I think this is the format of your data: C = {rand(20,4),rand(15,4),rand(22,4)}; Extract the first 3 columns of cell 2 C{2}(...

1日 前 | 0

回答済み
How can I display greek letters as boxplot labels?
Use ASCII codes figure boxplot([(1:2:10)',(1:2:10)']) set(gca,'xticklabel',{['A ' char(955)], ['B ' char(961)]},'fontsize', 1...

1日 前 | 0

| 採用済み

回答済み
Using MATLAB GUI popup
Presumably you have a callback function for the checkbox that controls the "enabled" property of the popup menu. Within that ca...

1日 前 | 0

回答済み
Where are all drawn shapes stored from an axis?
Store handles In the block below, r1, r2, & r3 are handles to the 3 rectangles. figure() r1 = rectangle('Position',[0 0 2 4]...

1日 前 | 0

| 採用済み

回答済み
Multiple axes: how to plot the correct scale on both x-axes and y-axes?
The double ticks are due to the axis 'Box" property set to 'on' and the misalignment of ticks between the upper and lower axes (...

1日 前 | 0

回答済み
sigma deletes the axis grid
Short answer: You need to add the grid after calling sigma(). Long answer: Assuming you're using the DynamicSystem method (to...

1日 前 | 1

回答済み
help for fprintf my code
"I would like make fprintf to show me t and m as colums" ...where t is an [1 x n] vector and m is a [n x 4] matrix. fprintf('...

1日 前 | 1

回答済み
How to convert 1.35678e-01 to numerical digits in matalb?
" I need it in normal whole numbers like 0.005, 12345, 89898 etc" Setting the format to longg (not long!) or shortg will solve...

2日 前 | 1

| 採用済み

回答済み
part of file name
s = 'Hello_World_2020'; c = regexp(s,'_(.*)_','tokens'); c = c{1}{1}; c = 'World'

3日 前 | 1

回答済み
Adding columns to tables
Try saving all tables to a cell array and then concatenating them after the loop. %Incrementing through all file names...

3日 前 | 0

| 採用済み

回答済み
GUI, how to use previous loaded structure into next callback function?
" How is it possible to "attach" or "assign" this structure to the buttons and somehow be able to select fields and data from th...

3日 前 | 0

回答済み
Finding a specific rows?
This does not require a for-loop. In fact, the last line is the solution. The first few lines just creates an example matrix w...

3日 前 | 0

| 採用済み

回答済み
Regular expressions, builing up a simple expression for a search
https://regex101.com/ I recommend that site when building regular expressions. ^(sw|wk|st).+(400_0\.inf|420_0\.inf)$ % ...

3日 前 | 1

| 採用済み

回答済み
Save n*Number of Pie Charts Generated from a loop
Explanation of the problem The primary resource to go to with problems like these is the documentation which describes what the...

3日 前 | 1

| 採用済み

質問


Community profile not updating
Has anyone else noticed that their MathWorks community profiles haven't updated in the past ~15 hours (as of 7:30am EST, 7-18-19...

3日 前 | 1 件の回答 | 1

1

回答

回答済み
Split date variable of a table into 3 variables year month and day
"I have table with 3 variables (date, latitude, longitude) where the first variable is the date (dd/mm/yyyy)" % Create example ...

3日 前 | 0

| 採用済み

回答済み
Locating points on the figure that correspond to a specific number on the colormap
In this functional example below, the colorbar value (cval) is set to 140.0 which is within the yellow-green spectrum of the col...

3日 前 | 0

| 採用済み

回答済み
how to search and delete the nth ocurance of a text in a text file
The question is unclear whether the goal is to remove the 2nd line of text or to remove the line(s) with "John is happy". The b...

3日 前 | 1

回答済み
How do I create a session that is limited by time
Use a timer object that ends the session after a set duration of time. Here's an overview. Setting up the timer may seem int...

4日 前 | 1

回答済み
How can i keep my variables after running the function?
" Is it possible to keep the variables once a function has run " Yes. Add outputs to your function if variables are immediate...

4日 前 | 0

回答済み
Use different colormaps for pcolor subplots
You're assigning the colormap to the colorbar. Instead, assign it to the axes and the colorbar will follow suit. ax(1) = sub...

4日 前 | 0

| 採用済み

送信済み


msgboxFontSize
Change the fontsize and other text properties in a msgbox(), errordlg(), warndlg() etc.

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

Thumbnail

回答済み
Getting colors using RGB values w/ scatter3
rgb triplets are normalized between 0:1 https://www.mathworks.com/help/matlab/ref/colorspec.html To convert from decimal code,...

4日 前 | 1

| 採用済み

回答済み
Calculate the distance between matched points
The (x,y) point locations are stored in the "Locations" property of a SURFpoints object. If you are calculating the distance bet...

4日 前 | 0

| 採用済み

回答済み
error with changing directory in for loop
Do not use cd(); use fullfile() instead and then feed in the full path of the file to dlmwrite().

4日 前 | 0

| 採用済み

回答済み
Import data from txt file
This uses readtable() to read in your txt file and it uses regexp() with the 'tokens' flag to pull out relevant data. %% Impor...

5日 前 | 1

| 採用済み

Load more