Questions tagged [boundary]

481 questions
2
votes
0 answers

Python: matrix division with boundary restrictions

I am trying to simulate a signal and need to solve the matrix equation Ax = B. Here A and B are both known: A is 500x40 matrix (40 signal source candidates), B is a 500x1 vector (my target signal), and x is the 40x1 vector I am looking for…
2
votes
1 answer

PHP CURL Multipart form data using upload problem

I am trying to upload image to Api site, but site answer no upload image. I tested all codes but no result. Please help me
2
votes
1 answer

How to extract the normal vectors at the boundary nodes in gmsh?

I have a geo file for gmsh and mesh it. Then I would like to extract the normal vectors at the nodes of a selected surface. How is this possible? Below is my gmsh geo file. //Construct a cube in GMSH //Build a line Point(1) = {0, 0, 0,…
Marc Frei
  • 21
  • 2
2
votes
0 answers

How to find boundary of a graph?

I would like to find the boundary of a graph which each vertex is given its 2D coordinate (x,y). The boundary path must be a closed polygon and cover most area. For example, in the figure, the boundary path would be: 1-2-3-4-1 I can do this by…
N.T.C
  • 658
  • 2
  • 9
  • 20
2
votes
0 answers

how to plot particles' trajectory with periodic boundary conditions python

I'm trying to plot the movement of many particles with periodic boundary conditions. I want to plot their trajectory for the last 10 timesteps. This is my plot code so far (X is a matrix, each column is a different particle and each row is a…
2
votes
0 answers

Android Place Picker restricted area (city boundary) library

I'm looking for some library similar to Google PlacePicker, but I also need some additional features: City boundary should be possible to be shown on map (provided as geojson) It should not be possible to choose place/location outside city…
user1209216
  • 7,404
  • 12
  • 60
  • 123
2
votes
4 answers

HTTP File upload boundary choice

So I am currently studying HTTP file uploads (in the context of using a HttpWebRequest to upload some files to an external API) and generally I see a few dozen dashes being used as the boundary. Browsers seem to usually add a randomly chosen…
Stigma
  • 1,686
  • 13
  • 27
2
votes
1 answer

Getting the boundary of a Bezier curve

I have points list and control points list to draw a Bezier curve. Please let me know how to calculate the boundary rectangle of the Bezier curve. var pointsList = [CGPoint(34, 23), ... , CGPoint(23, 85)] var controlPoints = [CGPoint(45, 34), ...,…
isaac lee
  • 73
  • 1
  • 6
2
votes
0 answers

Excel Solver, the initial variable cell value affects the solver

I have the following problem: I need to minimize a cell by varying another cell value, which need to be an integer. My Excel Solver works ok sometimes, and other times it does not solve it. I noticed that it depends on the initial conditions, so…
2
votes
1 answer

Directional Derivatives of a Matrix

I have 40 structures in my Workspace. I Need to write a script to calculate the directional derivatives of all the elements. Here is the code : [dx,dy] = gradient(Structure_element_1.value); dxlb = min(min(dx)); dxub = max(max(dx)); dylb =…
Aakash Sehgal
  • 171
  • 1
  • 2
  • 12
2
votes
1 answer

Why is boudary detected as a contour with cv2.findContours?

If the function cv2.findContours() is looking for white obstacles, then yes it makes sense that boundary is considered an obstacle. But then, why would the black cap be considered an obstacle and a contour be formed on it?
Salaar Khan
  • 25
  • 1
  • 5
2
votes
0 answers

Solve differential equation with infinite boundary condition in Matlab

I would like to solve the following equation : f''+tau(x)*f+f^3=0 f'(0)=0 f(inf)=1 Where tau(x) can be any function of x. The problem is to translate the boundary condition f(inf)=1 into matlab. My first solution, by reading different posts on the…
2
votes
0 answers

UIPanGestureRecognizer - Best way to stop an object moving past a boundary

I've got a view within a navigation controller. I am then adding a subview to this view and offsetting its origin height so that it covers only half the screen (with the other half overflowing off out the bottom of the screen). I want to be able to…
myles
  • 1,681
  • 1
  • 15
  • 27
2
votes
2 answers

R, double integral with functional boundaries

Is there an R function that handles double integrals where the region of the inner integration is a function of the outer variable? That is to say, while f(x) is integrated from -5 to 5, g(y) is integrated over 0 to h(x). Thanks, JD
JD002
  • 113
  • 1
  • 7
2
votes
1 answer

how can I solve a system of ODEs with some terminal conditions in matlab?

I have 14 first order differential equations. 14 conditions, 7 are initial ones like x1(0)=0, x2(0)=5... 7 are terminal ones x8(10)=25,x9(10)=0.... I think I should use bvp4c I found this answer but I'm still have a couple of problems:how to solve…
user1834153
  • 330
  • 5
  • 20