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...
7年以上 前 | 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?
7年以上 前 | 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 ...
7年以上 前 | 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...
7年以上 前 | 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....
7年以上 前 | 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...
7年以上 前 | 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)...
7年以上 前 | 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
10年以上 前 | 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...
10年以上 前 | 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...
10年以上 前 | 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 ...
10年以上 前 | 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...
10年以上 前 | 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...
10年以上 前 | 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...
10年以上 前 | 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...
11年以上 前 | 2 件の回答 | 0