Feeds
질문
Multiply Each Matrix in Cell Array by a Different Value
I have a cell A = {[1 2; 3 4]; [5 6; 7 8]}; and a vector b = [1; 2] and I want to multiply each matrix in A by t...
7년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to save variables from function output to workspace?
You are probably calling the function in a wrong way from your script/command line. [A,B] = GetText(filename); will save...
How to save variables from function output to workspace?
You are probably calling the function in a wrong way from your script/command line. [A,B] = GetText(filename); will save...
거의 8년 전 | 3
답변 있음
How do I force MATLAB treat my variable 'range' as a variable instead of a function ?
Simply create a copy of the variable assigning a different name?
How do I force MATLAB treat my variable 'range' as a variable instead of a function ?
Simply create a copy of the variable assigning a different name?
거의 8년 전 | 0
질문
Sort Coplanar 3D Points Clockwise
I have a set of 3D points that form a polygon. The points are coplanar, due to the fact they are obtained by means of a Voronoi ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Compute Gradient of a Scalar 3-D Field Defined On a non Uniform Grid
I have the values of a scalar Field in 3 dimensions over a randomly arranged set of points in space. How do I calculate the com...
거의 8년 전 | 답변 수: 2 | 0
2
답변질문
Generate random coordinates inside a convex polytope
I am trying to generate a random set of coordinates inside a randomly-shaped (convex) polytope defined by its bounding surfaces....
거의 8년 전 | 답변 수: 3 | 5
3
답변질문
Retain IDs of rows kept by the Unique function
I have a matrix composed in the following way: [ID_1 ID_2 Resisting_Area] ID_1 and ID_2 are integer values, Resisting_Area i...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Find which tetrahedron in a Triangulation contains a Given Facet
I have a Delaunay tetrahedralization, defined by a Coordinate Vector "X" (of size n x 3) and tetrahedra IDs "TRI"(of size m x 4)...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Using a Variable calculated in a parfor loop
I am calculating the internal forces of the finite elements in a mesh inside a parfor loop: parfor iel=1:nel id_1 = ...
대략 9년 전 | 답변 수: 0 | 0
0
답변답변 있음
Changing large matrices by not completely loading them into memory
Did you check the sparse command out?
Changing large matrices by not completely loading them into memory
Did you check the sparse command out?
9년 초과 전 | 0
질문
Code Slows Down if I Preallocate Larger Variables?
Hello, I am using Matlab to explicitly integrate equations of motion for a finite element mesh. In the code I initialise all t...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Calculate and Assembly Stiffness Matrix in Parfor Loop
Hello, I am working on extensive lattice networks, so I need to deal with very big stiffness matrices and enormous numbers of...
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
Constrain a Delaunay Triangulations With a Surface?
I would like to perform a Constrained Delaunay Triangulation by inputing a Surface to define the Constraint, instead of the Edge...
대략 10년 전 | 답변 수: 0 | 1
0
답변질문
Find Row Vectors In an Array Containing Only Elements from a Vector
Having a matrix A = [1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 15 16] and a vector b = [1 2 5 6 7 8 9 13 14 15 16]' I would like to...
대략 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
find function with floating points number
http://www.mathworks.com/matlabcentral/answers/9021-approximately-equal-or-egual-to-error
find function with floating points number
http://www.mathworks.com/matlabcentral/answers/9021-approximately-equal-or-egual-to-error
거의 11년 전 | 0
질문
Deleting Triangulation Entries from a Delaunay Triangulation Based on Indices Given by a Logical Array
Hello, I am using Delaunay Triangulations to map a 3D space. Given certain criteria, I select a certain number of points to b...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
Calculating Sphere Cube Intersection
Hello, I want to evaluate wether a given sphere intersects a cube/parallelepiped or not. A normal check on the distance from th...
거의 11년 전 | 답변 수: 0 | 0
0
답변질문
Two identical commands take different times to run?
I am running this function inside a bigger script: <</matlabcentral/answers/uploaded_files/9047/Cattura.JPG>> K11 and K12 ...
거의 11년 전 | 답변 수: 2 | 1
2
답변질문
Partition a Big Matrix Into Pieces According to Values from A Vector
I have a big matrix (approx 2000x2000 size). Based on another boolean vector (which is 2000x1), i want to remove rows or columns...
거의 11년 전 | 답변 수: 1 | 0
1
답변답변 있음
One specific line of a function is taking too long
New informations about the issue: * Making K global doesn't change anything. Still same runtime. * By-passing the function a...
One specific line of a function is taking too long
New informations about the issue: * Making K global doesn't change anything. Still same runtime. * By-passing the function a...
거의 11년 전 | 0
질문
One specific line of a function is taking too long
I am having issues with a particular function. Also, it is a very simple one, with very quick calculations in it. It serves to a...
거의 11년 전 | 답변 수: 2 | 1
2
답변질문
Error while using size(A,1)?
Hello, I am trying to evaluate the number of rows of a certain matrix 'Conn' using d = size(Conn,1) If I initialise the ma...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Using the answer of inputdlg into a Matlab Expression
Hello everybody, I am trying to write some piece of code which asks for the name of a previously defined variable and uses th...
거의 12년 전 | 답변 수: 2 | 0