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...
5년 초과 전 | 답변 수: 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...
거의 6년 전 | 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...
거의 6년 전 | 답변 수: 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....
대략 7년 전 | 답변 수: 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 ...
7년 초과 전 | 답변 수: 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...
7년 초과 전 | 답변 수: 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...
7년 초과 전 | 답변 수: 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 ...
7년 초과 전 | 답변 수: 2 | 0

