Community Profile # MaryD

Last seen: 8 months ago Active since 2020

#### Statistics

• • • • #### Content Feed

View by

Question

converting shape into polygon with sides of a given length
I want to convert given shape represented by set of points/alpha shape/polygon (not necessarily convex) into polygon in which ea...

10 months ago | 0 answers | 0

### 0

Question

Extracting points from polyshape
I have a figure defined as polyshape and I want to create pointcloud representing full boundary and inside of polygon, not only ...

1 year ago | 1 answer | 0

### 1

Question

Covering planar shapes with same size disks
I'm working on algorithm to cover given shapes with same sized, overlapping disks to cover the whole area. The shape is represen...

1 year ago | 0 answers | 0

### 0

Question

Margin aound a shape
I need to create a margin to the given shape that looks like this above (image source: Codrops, shape-margin). Is there any si...

1 year ago | 1 answer | 0

### 1

Finding Angle between 2 points
r1=sqrt((x1-xo).^2+(y1-yo).^2); r2=sqrt((x2-xo).^2+(y2-yo).^2); alpha=acos((x1-xo)/r1); beta=acos((x2-xo)/r2); theta=alpha-b...

2 years ago | 0

How do i store all the results from a set of 'for' loops, not just the results from the last iteration?
Mean = 0.01:0.01:0.1 hsize = 3:1:26 sigma = 0.5:0.5:5 for m=1:length(Mean) for h=1:length(hsize) for s=...

2 years ago | 0

| accepted

Vectors must be the same length with .wav file
t = linspace(0, length(y)/fs,length(y)); I think you use linspace in wrong way. "y = linspace(x1,x2,n) generates n points. The ...

2 years ago | 0

Not sure how to fix my matrix dimension problem
You are using for loop with variable i but you are not using i inside the loop. I'm not sure what you want to achive but maybe t...

2 years ago | 1

Indexing into a matrix to create a plot
you can just try T_skin(t)= [(T * Area * Cp_air * rho_air)/(t-(t-1)) + Qgen + (Uambient * Area * Tambient)]/((Area * Cp_air *...

2 years ago | 0

Detect face from multiple image, crop it and save it in different file.
If you want to read jpg images from one folder and save cropped images with same name and format but in different folder you can...

2 years ago | 0

Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
You're trying to asign 3x3 matrix to A(i) which is vector of size i. try A(1:3,1:3,i)=[cos(theta(i)) sin(theta(i)) 0;... ...

2 years ago | 0

Trouble with rotating an image and saving it with different rotation angles.
You should try K(numberOfRowsInImage,numberOfColumnsInImage,i) = imrotate(I,a(i),'bilinear','crop') K(i) is just vector of siz...

2 years ago | 0

Question

Volume of overlapping ellipsoids
I'm creating program that fills given 3D object with ellipsoids. How can I calculate filled volume if ellipsoids can overlap ? P...

2 years ago | 1 answer | 0

### 1

Randomly split data set and make sure that a sample of each class is included
If those are images I think best way is to load your data with class labels and then use splitEachLabel( __,'randomize') functio...

2 years ago | 0

function to find longest string of consecutive ones
This is quick made example how it may work. Nbest tells number of letters in the longest string and Lbest tells what letters the...

2 years ago | 1

| accepted

Question

Creating 3D surface from binary slice images
I've got 60 slices and i'm creating binary mask of contours wchich i'm detecting on each. How can I create 3D model from those c...

2 years ago | 1 answer | 0