Paul Safier
Followers: 0 Following: 0
Feeds
질문
Stacked Cuboid for PDE Domain
Can the following domain be created for use in the PDE Toolbox? It does not seem that ordinary operations with the multicuboid f...
2개월 전 | 답변 수: 3 | 0
3
답변질문
What formula for r-squared does fitlm use in the weighted linear regression case?
If I use fitlm as: mdl = fitlm(X,Y,'Weights',W); can someone tell me the formula used in computing the r-squared that's here: ...
2개월 전 | 답변 수: 1 | 0
1
답변How to implement weighted Linear Regression
@John D'Errico do you know how to compute the R^2 value in this weighted case?
2개월 전 | 0
질문
Extrude 2D Domain into 3D
I am having trouble extruding a 2D domain into a 3D domain for use in the PDE Toolbox. Perhaps I cannot use decsg to create the ...
4개월 전 | 답변 수: 1 | 0
1
답변질문
pdeplot with same colorbar range
I am trying to plot the results of solving the transient heat equation. I want to use pdeplot to show the temperature distributi...
5개월 전 | 답변 수: 1 | 0
1
답변질문
Trouble concatenating a cell.
I want to concatenate the cell in the image such that rows 1,2 and10 are expanded, i.e. rows 1 and 2 each become 4 rows. Row 10 ...
7개월 전 | 답변 수: 1 | 0
1
답변질문
Code Fails to Write to Folder that has Correct Write Permissions
This question is a follow-up to the one answered by @Walter Roberson here: https://www.mathworks.com/matlabcentral/answers/2001...
9개월 전 | 답변 수: 2 | 0
2
답변질문
MATLAB won't run a code even when in directory containing the code
I try to run a code initially from my home directory. Matlab states that the code exists in a specific folder and I should navig...
9개월 전 | 답변 수: 1 | 1
1
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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,...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
1년 초과 전 | 답변 수: 4 | 0
4
답변질문
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 ...
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 3년 전 | 답변 수: 0 | 0
0
답변convolution 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...
대략 3년 전 | 0
질문
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, ...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
3년 초과 전 | 답변 수: 4 | 0
4
답변질문
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...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
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 ...
대략 4년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 4년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 4년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 4년 전 | 답변 수: 0 | 0