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

mehr als 4 Jahre ago | 1 answer | 1

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

mehr als 5 Jahre ago | 1 answer | 1

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

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 0 answers | 0

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

mehr als 5 Jahre ago | 0 answers | 0

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

fast 6 Jahre ago | 2 answers | 0

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

fast 6 Jahre ago | 2 answers | 0

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

etwa 6 Jahre 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 ...

etwa 6 Jahre 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 ...

etwa 6 Jahre 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...

etwa 6 Jahre 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:...

etwa 6 Jahre 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 ...

etwa 6 Jahre ago | 2 answers | 0

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

etwa 6 Jahre ago | 3 answers | 0

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

mehr als 6 Jahre ago | 0 answers | 0

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

mehr als 6 Jahre ago | 1 answer | 0

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

mehr als 6 Jahre ago | 1 answer | 0

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

mehr als 6 Jahre ago | 1 answer | 0

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

mehr als 6 Jahre ago | 1 answer | 0

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

fast 7 Jahre ago | 1 answer | 0

Answered

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

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

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

etwa 7 Jahre ago | 0 answers | 0

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

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

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

etwa 7 Jahre ago | 1 answer | 0

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

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

mehr als 7 Jahre 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 ...

mehr als 7 Jahre ago | 1 answer | 0

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

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

mehr als 7 Jahre 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...

mehr als 7 Jahre ago | 1 answer | 0