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

답변 있음

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).^...

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).^...

약 12시간 전 | 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...

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...

약 13시간 전 | 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 ...

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 ...

1일 전 | 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...

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...

1일 전 | 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...

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...

1일 전 | 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...

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...

1일 전 | 0

답변 있음

how to change my email address

Make sure you're logged into your MathWorks account and then go here https://www.mathworks.com/mwaccount/profiles/edit To acce...

how to change my email address

Make sure you're logged into your MathWorks account and then go here https://www.mathworks.com/mwaccount/profiles/edit To acce...

1일 전 | 0

답변 있음

How to use Plot Browser's toggle ability when using multiple tiles

TL;DR: The plotbrowser apparently doesn't work with TiledChartLayout axes. Instead, use subplot() to create your axes. plotbrow...

How to use Plot Browser's toggle ability when using multiple tiles

TL;DR: The plotbrowser apparently doesn't work with TiledChartLayout axes. Instead, use subplot() to create your axes. plotbrow...

1일 전 | 1

| 수락됨

답변 있음

How to remove light artifact in this image? After removing this light artifact the blood vessels should look same in the region in light artifact region. Any code for this ?

"I want only the light artifact region and other region of fundus image should become black... i.e. intensity > 250" file = 'IM...

How to remove light artifact in this image? After removing this light artifact the blood vessels should look same in the region in light artifact region. Any code for this ?

"I want only the light artifact region and other region of fundus image should become black... i.e. intensity > 250" file = 'IM...

1일 전 | 0

답변 있음

Eliminate decimals past the thousandths place in a table

If those values are considered unique by the unique() function that eliminates the possibility that you're just using a long for...

Eliminate decimals past the thousandths place in a table

If those values are considered unique by the unique() function that eliminates the possibility that you're just using a long for...

1일 전 | 0

| 수락됨

답변 있음

Kolmogorov Smirnov test help?

"Is it better to simply call the function as kstest(x) or correct the data so that its standard deviation and mean is 1 and 0 re...

Kolmogorov Smirnov test help?

"Is it better to simply call the function as kstest(x) or correct the data so that its standard deviation and mean is 1 and 0 re...

2일 전 | 0

답변 있음

How do I compare two sentences with similar words?

I wouldn't be surprised if a more robust algorithm already exists but this simple appraoch takes the following steps. Replace ...

How do I compare two sentences with similar words?

I wouldn't be surprised if a more robust algorithm already exists but this simple appraoch takes the following steps. Replace ...

2일 전 | 0

답변 있음

Importing data with unequal number of column

See the other two solutions for more efficient approachs. The input to the code below is your data file Data.txt. The outp...

Importing data with unequal number of column

See the other two solutions for more efficient approachs. The input to the code below is your data file Data.txt. The outp...

3일 전 | 0

답변 있음

How to add axis labels while using for loops? Keep getting error: Index exceeds the number of array elements (4).

Updated answer It appears that you may have a variable named xlabel that is interfering with the xlabel() function. To confirm...

How to add axis labels while using for loops? Keep getting error: Index exceeds the number of array elements (4).

Updated answer It appears that you may have a variable named xlabel that is interfering with the xlabel() function. To confirm...

3일 전 | 0

| 수락됨

답변 있음

Issue with precision using days function

0.465277777777778<---this 8 is rounded up. Look at how the following 2 values are converted x=0.465277777777778 % = 11:10...

Issue with precision using days function

0.465277777777778<---this 8 is rounded up. Look at how the following 2 values are converted x=0.465277777777778 % = 11:10...

4일 전 | 0

| 수락됨

답변 있음

how make the plot continuous ?

If a step function is what you're looking for, this single line below will calculate the x values for any vector of 1s and 0s. ...

how make the plot continuous ?

If a step function is what you're looking for, this single line below will calculate the x values for any vector of 1s and 0s. ...

4일 전 | 0

답변 있음

Eliminate tables with more than 15% NaN data

This cellfun is a bit obnoxious but it produces an output select that is a logical vector the same size as C where true values i...

Eliminate tables with more than 15% NaN data

This cellfun is a bit obnoxious but it produces an output select that is a logical vector the same size as C where true values i...

5일 전 | 1

| 수락됨

답변 있음

Selecting tables among 540 tables, based on a start and end date

Here's my thought process as I explore the data and solve the problem in parallel. Please take time to go through each line a...

Selecting tables among 540 tables, based on a start and end date

Here's my thought process as I explore the data and solve the problem in parallel. Please take time to go through each line a...

5일 전 | 0

| 수락됨

답변 있음

How to add a waitbar into an app created in App designer? Not in a separate figure.

With AppDesigner you should be using uiprogressdlg() which displays a progress bar on top of your GUI within an external figure....

How to add a waitbar into an app created in App designer? Not in a separate figure.

With AppDesigner you should be using uiprogressdlg() which displays a progress bar on top of your GUI within an external figure....

5일 전 | 0

답변 있음

How to add transparency to a dendrogram

Set up the dendrogram and store the line object handles from the first output of dendrogram(). % Set up the dendrogram X = ra...

How to add transparency to a dendrogram

Set up the dendrogram and store the line object handles from the first output of dendrogram(). % Set up the dendrogram X = ra...

5일 전 | 0

답변 있음

How to call variable (with index) using string?

It sounds like at some point in your code you created a bunch of dynamically named variables. This opens a can of worms and mak...

How to call variable (with index) using string?

It sounds like at some point in your code you created a bunch of dynamically named variables. This opens a can of worms and mak...

5일 전 | 3

답변 있음

mean of columns in a cell

Inputs: cell_formatiert: your mxn cell array (presumably containing a mixture of numeric and character values, otherwise there...

mean of columns in a cell

Inputs: cell_formatiert: your mxn cell array (presumably containing a mixture of numeric and character values, otherwise there...

5일 전 | 0

| 수락됨

답변 있음

How to find a intersecting point in a GUI?

I'm a big fan of this file exchange submission: [x0,y0] = intersections(x1,y1,x2,y2). You can provide the (x,y) coordinates of...

How to find a intersecting point in a GUI?

I'm a big fan of this file exchange submission: [x0,y0] = intersections(x1,y1,x2,y2). You can provide the (x,y) coordinates of...

6일 전 | 0

답변 있음

AIC in a Gaussian Mixture Regression

This computes the AIC and the AICc using the following defined inputs. % RSS: Vector; residual sum of squares between your data...

AIC in a Gaussian Mixture Regression

This computes the AIC and the AICc using the following defined inputs. % RSS: Vector; residual sum of squares between your data...

6일 전 | 0

답변 있음

Getting the linear portion of a non-linear curve

If you have the x values of the red lines, it's as easy as bounds = [x1,x2]; % [lower, upper] bounds (red lines) keepIdx = x...

Getting the linear portion of a non-linear curve

If you have the x values of the red lines, it's as easy as bounds = [x1,x2]; % [lower, upper] bounds (red lines) keepIdx = x...

6일 전 | 0

답변 있음

How to convert each row in a cell array to a (1*n ) double matrix?

I like David Hill's solution but here's another one because I already wrote it up so, why not share it? load('Key.mat') % ...

How to convert each row in a cell array to a (1*n ) double matrix?

I like David Hill's solution but here's another one because I already wrote it up so, why not share it? load('Key.mat') % ...

6일 전 | 1

답변 있음

How to create a table of 3 variables ?

New answer following your updated description. You are asking to reorganize the array into tables by month and to name those ta...

How to create a table of 3 variables ?

New answer following your updated description. You are asking to reorganize the array into tables by month and to name those ta...

6일 전 | 0

| 수락됨

답변 있음

Add coordinate points (latitude and longitude) on a figure

hold on plot(coordinates.lon, coordinates.lat, 'kx') xlabel('Longitude') ylabel('Latitude')

Add coordinate points (latitude and longitude) on a figure

hold on plot(coordinates.lon, coordinates.lat, 'kx') xlabel('Longitude') ylabel('Latitude')

6일 전 | 1

| 수락됨

답변 있음

Extract the X and Y values of curve in image

Without the original data or the figure file you'll have to use a digitizing program that estimates the coordinates of the curve...

Extract the X and Y values of curve in image

Without the original data or the figure file you'll have to use a digitizing program that estimates the coordinates of the curve...

6일 전 | 0

답변 있음

Selecting a portion of the tables

% extract row 1 of each table stored in cell array C firstRows = cellfun(@(m)m(1,:),C,'UniformOutput',false).'; % Vertically...

Selecting a portion of the tables

% extract row 1 of each table stored in cell array C firstRows = cellfun(@(m)m(1,:),C,'UniformOutput',false).'; % Vertically...

6일 전 | 1

| 수락됨