Community Profile

# MaryD

Last seen: 5 mesi fa Attivo dal 2020

#### Content Feed

Visto da

Domanda

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

oltre un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 2 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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 2 anni fa | 1 risposta | 0

### 1

risposta

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

circa 3 anni fa | 0

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

circa 3 anni fa | 0

| accettato

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

circa 3 anni fa | 0

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

circa 3 anni fa | 1

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

circa 3 anni fa | 0

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

circa 3 anni fa | 0

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

circa 3 anni fa | 0

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

circa 3 anni fa | 0

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

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

circa 3 anni fa | 0

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

circa 3 anni fa | 1

| accettato

Domanda

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

circa 3 anni fa | 1 risposta | 0

risposta