Community Profile

photo

Manny Kins


Last seen: 3 mesi ago Active since 2018

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Question


Filling a region of a grayscale image with a colour corresponding to colorbar
Hi all, I have a task in which I want to draw around certain areas of an image and fill those areas with a semi-transparent colo...

5 mesi ago | 1 answer | 0

1

answer

Question


Mapping two sets of co-ordinates with two different colours onto blank white screen
Hi, I have a blank Screen with dimensions: Screen = 255*ones(1024,1280,3); Where 1024 and 1280 are the height and width and 3 ...

6 mesi ago | 1 answer | 0

1

answer

Question


Finding intensity of region inside a circle from image
Hi all, I have this image below of a circular bead (also attached): I would like to calculate the average intensity of all p...

6 mesi ago | 1 answer | 0

1

answer

Question


Finding the full width half maximum (FWHM) of a rounded part of peak instead of sharp peaks
Hi, I have this plot where I want to find the FWHM around the main "bulge" of the plot (around the red line I have crudely dra...

6 mesi ago | 1 answer | 0

1

answer

Question


Plotting colourful line over gray image whilst retaining colourbar information
Hi, I would like to plot a colourful trajectory on top of a grayscale image whilst retaining the colour information of the traje...

8 mesi ago | 1 answer | 0

1

answer

Question


Curve fitting with loglog data
I am having some issues fitting a curve using polyfit to log data. I think I am making a silly mistake during the fit plotting a...

9 mesi ago | 1 answer | 0

1

answer

Question


Removing data from a structure that is less than a certain threshold
I am running a code to find the positions and trajectories of microparticles. I get a lot of noise as my particle concentration ...

circa 3 anni ago | 2 answers | 0

2

answers

Question


Finding length of a struct, excluding NaN values
I have a struct with the following layout: T X Y [0,1] [0, 1] [0,5] [0] [2] [2] NaN NaN NaN NaN NaN NaN N...

circa 3 anni ago | 1 answer | 0

1

answer

Question


Help optimising code that creates linked particle trajectories from single particle positions in each frame
The code below takes particle positions that I have found in each frame of a video and compares nearest neighbours to build part...

circa 3 anni ago | 1 answer | 0

1

answer

Question


What are the thought processes that go on when you are trying to solve a MATLAB problem?
I am (fairly) new to MATLAB, just started using it more heavily these past few months (before then I just used it to make basic ...

circa 3 anni ago | 1 answer | 0

1

answer

Question


Removing NaNs from a struct
I have a struct with the following layout: T X Y [0,1] [0, 1] [0,5] [0] [2] [2] NaN NaN NaN NaN NaN NaN N...

circa 3 anni ago | 3 answers | 0

3

answers

Question


Making a video showing trajectories of particles
I have some X, Y and T (time) co-ordinates for my particles (attached) and I want to plot and make a video of all of my particle...

circa 3 anni ago | 2 answers | 0

2

answers

Question


Removing unique numbers whilst comparing two structures
I have two structs, one called AllPositions_CA with X and Y fields containing this type of layout: X ...

circa 3 anni ago | 1 answer | 0

1

answer

Question


Finding circles in clusters
I have this image of spherical particles with varying shades. I wanted to find a way to find the centers of all of them (es...

circa 3 anni ago | 0 answers | 0

0

answers

Question


Finding arrays above threshold value
I have a struct AT.AX AX has the following values: 1x370 double 1x1007 double 1x3957 double 1x6309 double 1x1648 double ...

circa 3 anni ago | 2 answers | 0

2

answers

Question


How do I remove NaN values from a matrix and retain matrix shape?
Say for example I have the following array X = [1 3 4; 5 6 8; NaN NaN NaN] X = 1 3 4 5 6 8 ...

circa 3 anni ago | 1 answer | 0

1

answer

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

circa 3 anni ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

circa 3 anni ago

Solved


Return area of square
Side of square=input=a Area=output=b

circa 3 anni ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

circa 3 anni ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

circa 3 anni ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

circa 3 anni ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

oltre 3 anni ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

oltre 3 anni ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

oltre 3 anni ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

oltre 3 anni ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

oltre 3 anni ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

oltre 3 anni ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

oltre 3 anni ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

circa 4 anni ago

Load more