Community Profile # MaryD

Last seen: 7 mesi 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...

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

circa un anno 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...

circa un anno 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...

circa un anno 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...

oltre 2 anni 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=...

oltre 2 anni 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 ...

oltre 2 anni 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...

oltre 2 anni 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 *...

oltre 2 anni 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...

oltre 2 anni 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;... ...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni ago | 1 answer | 0