Community Profile

Contact

Top 5% contributor

I'll answer my own question... again. aoctool can't take more than one covariate and there's no way round it. However, there ...

accepted

0

Answered 2 years ago

I answered my own question again: In my case I had the option of changing the coordinates slightly - I wasn't trying to find ...

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

After some fiddling I have found this to be the simplest (and most visually appealing) solution, so I will post it here in it's ...

Hi there, I have quite a simple question, simple because I'm sure Matlab can do this easily, I just don't know how. I want...

2 Answers

Asked 2 years ago

Hi there, I have binary matrices (about 50 x 50 but this size changes) and I want to quantify the size of fields/blobs/island...

1 Answers

1

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

Asked 3 months ago

Hi everybody, I have recently been looking into parfor loops, mostly out of curiosity. I have lots of loops which follow t...

Asked 1 year ago

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

Hi everybody, I have some general questions regarding the ksdensity function. I'm trying to compare the cumulative density fu...

Hi everybody, I would like to allow a user to draw a rectangle over a plot to highlight some data. This seems entirely possib...

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

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

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

Hi again, I have another plotting question; I have 4 subplots and I want one of them to have a black background. Since I only...

Hi, I am using scripts written by someone else a long time ago (who has long since gone) and I'm having trouble getting them ...

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

Asked 7 months ago

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

Hi everybody, I was wondering (because it would be extremely helpful to a piece of code I am writing) whether it is possible ...

Asked 10 months ago

Hi everybody, I have a polygon defined by a number of vertex coordinates and I have a coordinate within this polygon. I would...

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

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

Solve this!

9 months ago

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

Regardless of input, output the string 'yes'.

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

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

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

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

Hi everybody, I am plotting a draggable rectangle using imrect, but I would like to show the user the internal grid of this r...

0 Answers

Asked 4 months ago

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

Load more