# Paul Safier

**Statistics**

RANK**234,848**

of 270,769

REPUTATION**0**

CONTRIBUTIONS

**23** Questions

**1** Answer

ANSWER ACCEPTANCE **
60.87%
**

VOTES RECEIVED**0**

RANK

of 18,282

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 119,618

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

What is the output when Particle Swarm Optimization exceeds MaxTime

I ran the following PSO code and the MaxTime was exceeded. The code spit out a result, but I don't know: Is it the best soluti...

12 days ago | 1 answer | 0

### 1

answerQuestion

Problems clustering with kmeans

I have a data set that is x,y,v. Each vector is quite long, ~2 million rows. Also, the data is scattered, i.e. not at regular x,...

3 months ago | 2 answers | 0

### 2

answersQuestion

Can one of MATLAB's optimization algorithms (e.g. particle swarm optimization) take the place of this brute force parameter sweep iteration?

I want to find an optimal set of parameters but the time to run through every combination (in a brute force parameter sweep) wil...

4 months ago | 1 answer | 0

### 1

answerQuestion

Each PARFOR Worker Writes to the Same File

I understand that having each worker write to a single file is a no-no. Perhaps as expected, when I run this code, it shows so...

4 months ago | 3 answers | 0

### 3

answersQuestion

PARFOR is 10X Slower than FOR

I'm trying to understand why my use of the parfor is so much slower than using a for loop. Both parfor and for implementations ...

5 months ago | 2 answers | 0

### 2

answersQuestion

Error using Table with New Installation of 2022a

When I run these simple commands, I get the following error. I'm not sure where to look to address this. xmin=1; xmax=2; ymin...

7 months ago | 2 answers | 0

### 2

answersQuestion

Course Summaries Document Available to Download/Print?

After completing some Onramp courses, I wanted to get a copy (to print for hard copy) of the course summary that lists the speci...

1 year ago | 1 answer | 0

### 1

answerQuestion

Advice on Speeding up Loops

I need to run the code below with the parameter amnt equal to about 10^8. The loops are very expensive and I have written in a w...

1 year ago | 0 answers | 0

### 0

answersQuestion

Convert a matrix of doubles to an RGB image, and then back to a matrix of doubles (ideally matching the original)?

Can someone offer any advice on how one could take a matrix of doubles, convert it to an RGB image, and then BACK to the origina...

1 year ago | 1 answer | 0

### 1

answerQuestion

Techniques for blending images that have overlap

I have some images that all overlap each other by a known amount (e.g. 15% of the pixels on along a side). No registration shoul...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to get matrix indices from roipoly

I have a matrix that I want to extract an ROI from. I am using roipoly to clip the region. The syntax below gives the coordinate...

1 year ago | 2 answers | 0

### 2

answersQuestion

Gaussian filter with fspecial versus imgaussfilt

I have two questions. First, I want to filter a function with a Gaussian that has a standard deviation with dimensions of length...

1 year ago | 0 answers | 0

### 0

answersconvolution with gaussian kernel using fft

@David Goodmanson: Can you point me to where you found the 3.53 value? All this discussion has led me to conclude that sin...

1 year ago | 0

Question

Extract Gridded Data from Isosurface

I want to get the x, y and z data of a surface that I extract from a volume via isosurface. I am doing it in the following way, ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Parfor Loop Error with Classification

When trying to convert the outer loop of the code below to a parfor loop, the error is: Error: The variable z_new in a parfor...

1 year ago | 1 answer | 0

### 1

answerQuestion

Solve as Optimization Problem in Matlab

I want to solve this simple equation as an optimization problem in Matlab. I have tried linprog, fmincon and fminunc and all do ...

2 years ago | 4 answers | 0

### 4

answersQuestion

Change folder that Matlab saves session information

I run Matlab on Linux machines. Matlab is saving session information (e.g. History.xml, parallel_settings, etc) in a folder cal...

2 years ago | 2 answers | 0

### 2

answersQuestion

Remove Internal Faces from Geometry

Is it possible to remove the internal faces of this geometry: pdem = createpde; g = multicuboid(40,40,0.1*ones(10,1),'Zoffse...

2 years ago | 0 answers | 0

### 0

answersQuestion

Coefficient Multiplying Laplacian Implicit in Neumann BC?

I'm solving the parabolic equation: I set up the PDE as: specifyCoefficients(model,'m',0,'d',1,'c',D,'a',0,'f',0); and ...

2 years ago | 0 answers | 0

### 0

answersQuestion

Mesh the Inside of a 3D Patch

I am trying to solve a PDE via the PDE Toolbox and am having trouble building the mesh/geometry. I have built the volume via the...

2 years ago | 0 answers | 0

### 0

answersQuestion

Create 3D Geometry for PDE Toolbox

I am having trouble creating the geometry of the attached image for use in the PDE toolbox. I have tried several things: i) rewo...

2 years ago | 0 answers | 0

### 0

answersQuestion

Hmax in GenerateMesh to be Different for x, y and z Directions?

I'm using the PDE Toolbox to solve a 3D elliptic problem in cartesian coordinates. The domain has an aspect ratio of about 40 an...

2 years ago | 0 answers | 0

### 0

answersQuestion

Segment Dumbbell Structure into Two Circles and One Rectangle

I'm trying to analyze three shapes from this image--two circles and one rectangle. I would like each to be a separate object det...

3 years ago | 1 answer | 0

### 1

answerQuestion

sub2ind errors with matchFeatures

Hello! I'm trying to start with the code for image registration given here, and convert it for my needs: <https://www.mathwor...

4 years ago | 0 answers | 0