
ER2018
Followers: 0 Following: 0
Feeds
質問
Avoid for-loops when calculating grid points that are sum of vectors
I would like to speed up my code. Typically I find ways to avoid for-loops to gain computation time, but I'm hitting a brick wa...
4年以上 前 | 0 件の回答 | 0
0
回答質問
Avoid many for-loops when calculating contact lengths between elements
I built a thermal model composed of N elements (N~10^5-10^6), grouped in a smaller number of groups (nGroups~10^2-10^3). The 1xN...
5年弱 前 | 0 件の回答 | 0
0
回答回答済み
Generate a mesh with unequal steps based on a density function
After receiving some help from another forum [https://stackoverflow.com/questions/61248310/generate-a-mesh-with-unequal-steps-ba...
Generate a mesh with unequal steps based on a density function
After receiving some help from another forum [https://stackoverflow.com/questions/61248310/generate-a-mesh-with-unequal-steps-ba...
5年弱 前 | 1
| 採用済み
質問
Generate a mesh with unequal steps based on a density function
I'm trying to generate a 1D mesh with unequal step length, and with a fixed number of elements [same as the initial mesh]. The l...
5年弱 前 | 2 件の回答 | 0
2
回答質問
any workaround for deploying applications allowing users to define custom functions?
I'm developing a deployed application using Matlab 2018a. The application allows the users to perform multiphysics simulations....
6年以上 前 | 1 件の回答 | 0
1
回答質問
possible to increase speed of power function applied to a vector?
Is it possible to increase speed of power function applied to a vector? N=16e3; X=-2+4*rand(N,1); Y=10.^X; I tried ...
6年以上 前 | 2 件の回答 | 0
2
回答質問
How to assign values from a vector to groups of elements of another, longer vector?
I have a vector of values, and I want to assign each value to a group of elements of another, longer vector. The groups can have...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Improving the efficiency of repmat and function with inputs of different sizes
I wrote a code that performs some calculation at each time step (Euler method). In the calculation I have groups of elements, w...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How to sum parts of a matrix of different sizes, without using for loops?
I have a relatively large matrix NxN (N~20,000) and a Nx1 vector identifying the indices that must be grouped together. I want ...
6年以上 前 | 2 件の回答 | 0