Community Profile

photo

Right Grievous


Last seen: 3 years ago Active since 2013

Statistics

All
  • First Review
  • Thankful Level 3
  • First Answer
  • Solver

View badges

Content Feed

View by

Question


How do I apply a fitgeotrans output or similar to points NOT an image?
Hi everybody, I have been using the _fitgeotrans_ function to find the best linear weighted mean transformation between two s...

7 years ago | 1 answer | 1

1

answer

Question


3D reconstruction of points from three views - is there a 3 camera alternative to triangulate?
Hi everybody, I have three sets of x,y data, taken from an object tracked as it moves through three dimensions and taken by t...

8 years ago | 1 answer | 2

1

answer

Question


How do I use Quiver with X, Y, radians and vector length?
Hi everybody, I would really like to use a quiver plot to display my data, however, I can't seem to get it to work properly, ...

9 years ago | 1 answer | 0

1

answer

Question


Is it possible to use imrect and display an internal grid or lines which will drag with it?
Hi everybody, I am plotting a draggable rectangle using imrect, but I would like to show the user the internal grid of this r...

9 years ago | 0 answers | 0

0

answers

Question


Is is possible to perform 3D triangulation on two sets of 2D data without knowing camera parameters?
Hi all, I am tracking the movement of an object inside a cube using two cameras - one above and one side-on. I need to re...

9 years ago | 0 answers | 0

0

answers

Question


Detecting path/trajectory turns in tracking data
Hi all, I have some 2D cartesian position data (x,y,time) for a moving object, I would love the extract all of the points whe...

9 years ago | 2 answers | 0

2

answers

Question


Rotating polar coordinates 180 degrees
Hi all, I have a series of polar coordinates (ranging from -180 - 180 degrees), some of these coordinates are reflected in th...

9 years ago | 2 answers | 0

2

answers

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved


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

9 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

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

9 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago

Question


Is it possible to morph a polygonal ROI into the shape of a second polygon?
Hi everybody, I was wondering (because it would be extremely helpful to a piece of code I am writing) whether it is possible ...

9 years ago | 2 answers | 0

2

answers

Question


Is it possible to calculate the line of sight between two points in a 2d polygon?
Hi everybody, I have a polygon defined by a number of vertex coordinates and I have a coordinate within this polygon. I would...

9 years ago | 3 answers | 0

3

answers

Question


Morphing 2D cartesian coordinates, from one shape to another
Hi All, I have a slight problem for which I'm sure there must be a Matlab function but I can't work out what it is. I have a ...

9 years ago | 0 answers | 0

0

answers

Question


Array indexing in parfor loops, why does this simple code not work?
Hi everybody, I have recently been looking into parfor loops, mostly out of curiosity. I have lots of loops which follow t...

9 years ago | 1 answer | 0

1

answer

Question


Statistical comparison of two 2d matrices, corr2 or xcorr or other?
Hi everybody, I'm trying to compare 2d matrices (just 2 at a time) of identical sizes to see if they are similar, what I mean...

9 years ago | 1 answer | 0

1

answer

Question


Is it possible to constrain an impoly within in impoly?
Hi everybody, I have a graph on which the user places a rectangle, I then want the user to be able to draw or modify another ...

9 years ago | 1 answer | 0

1

answer

Question


ksdensity general help, what bandwidth and other settings to choose?
Hi everybody, I have some general questions regarding the ksdensity function. I'm trying to compare the cumulative density fu...

10 years ago | 1 answer | 0

1

answer

Question


Rotate rectangle x number of degrees when using imrect or alternative function
Hi everybody, I would like to allow a user to draw a rectangle over a plot to highlight some data. This seems entirely possib...

10 years ago | 1 answer | 0

1

answer

Answered
[DEPRECATED] What frustrates you about MATLAB?
Over commoditization frustrates me. Who at MTW decided nanmean and mean2 were so fantastic they should be distributed among two ...

10 years ago | 0

Question


Multcompare after ANOVAN - what does it mean?
Hi all, I'm running an ANOVAN (n-way anova) using the Matlab anovan function on my data and 4 grouping variables (the first o...

10 years ago | 0 answers | 0

0

answers

Answered
ANCOVA (aoctool) with 2 or more covariates
I'll answer my own question... again. aoctool can't take more than one covariate and there's no way round it. However, there ...

10 years ago | 1

| accepted

Question


ANCOVA (aoctool) with 2 or more covariates
Is there any way to run an ANCOVA in Matlab with more than one covariate? The aoctool function only seems able to accept an IV a...

10 years ago | 1 answer | 0

1

answer

Answered
Extract x,y coordinates from plot function OR find coordinates between two x,y points
I answered my own question again: In my case I had the option of changing the coordinates slightly - I wasn't trying to find ...

10 years ago | 0

| accepted

Question


Extract x,y coordinates from plot function OR find coordinates between two x,y points
Hi again everybody, I have pairs of coordinates [x,y] which I can use to plot a nice figure of lines. However, I need to use ...

10 years ago | 1 answer | 0

1

answer

Answered
Fitting a single amplitude sine wave to known peak/trough points
I solved this problem by taking each location of a peak, using linspace to create the numbers 90-180 (as many numbers as I had t...

10 years ago | 1

| accepted

Question


Fitting a single amplitude sine wave to known peak/trough points
Hi again everyone, I have a vector of data which I want to fit a sine wave to, I want the amplitude of the wave to remain con...

10 years ago | 1 answer | 0

1

answer

Load more