Feeds
質問
Pass Additional Arguments into Guess Function for BVP
In the example given here: Matlab BVP Example What would be the syntax (if it's even possible) to pass an additional argument(...
5日 前 | 1 件の回答 | 0
1
回答質問
Solve BVP with Arrays as Coefficients
Can bvp4c and/or bvp5c be used to solve a boundary value problem where the coefficients (or terms) of the BVP are provided by an...
5日 前 | 1 件の回答 | 0
1
回答質問
Orthotropic Conductivity on Face
Hi. My domain is as shown in the images attached. I am trying to place orthotropic conductivity on face 3 and uniform conductiv...
12日 前 | 1 件の回答 | 0
1
回答質問
Average Flux Across Edge
Hi. I need to compute the average flux across the edge in the diagram that is of length xa. Shouldn't the results from the funct...
13日 前 | 1 件の回答 | 0
1
回答質問
Apply Dirichlet BC on Vertex
For solvability my problem needs to have at least a single boundary node set as Dirichlet. From the image attached, I would like...
28日 前 | 1 件の回答 | 0
1
回答質問
Convert Set of (x,y) Coordinates Into Polygon
I converted the attached coordinates (x,y) into an alphashape. See image. shp = alphaShape(coordinates(:,1),coordinates(:,2),'...
3ヶ月 前 | 4 件の回答 | 0
4
回答質問
Find Max Delta of Sliding 3x3 Window Over Matrix
I have the code below to find the max delta between a point and its 8 neighbors in a sliding 3x3 window. I do this for the whole...
4ヶ月 前 | 1 件の回答 | 0
1
回答質問
imerode/imdilate use convolution?
Do imerode and imdilate use a convolution (e.g. conv2) under the hood? The source code is not available with their respective .m...
4ヶ月 前 | 1 件の回答 | 1
1
回答質問
Decode text with native2unicode
I have a vector that should be the header names from some data that was obtained via a metrology software program. I believe it ...
6ヶ月 前 | 1 件の回答 | 0
1
回答質問
Plot Stacked Surfaces with Coloring Appropriate for each Individual Surface
I'm trying to plot several surfaces on top of each other and have their coloring be appropriate for each individual surface base...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
1年以上 前 | 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: ...
1年以上 前 | 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?
How to implement weighted Linear Regression
@John D'Errico do you know how to compute the R^2 value in this weighted case?
1年以上 前 | 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 ...
1年以上 前 | 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...
1年以上 前 | 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 ...
1年以上 前 | 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...
2年弱 前 | 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...
2年弱 前 | 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...
2年以上 前 | 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,...
2年以上 前 | 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...
3年弱 前 | 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...
3年弱 前 | 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 ...
3年弱 前 | 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...
約3年 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
3年以上 前 | 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...
約4年 前 | 1 件の回答 | 0