photo

lala


Last seen: 6 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

Question


Performance is slower and slower on long-time adaptive FEM
I am building codes for an adaptive local mesh refinement scheme in finite element method. The 4-by-ne element and 2-by-nd node...

1 month ago | 1 answer | 0

1

answer

Answered
How does MATLAB know it ran from vscode or desktop?
MATLAB AI Chat Playground solved this problem for me. Following is its answer. MATLAB does not have a built-in way to determine...

7 months ago | 0

| accepted

Question


How does MATLAB know it ran from vscode or desktop?
I am setting up a startup.m script. I want to implement different behavier in this script depending on the starting mode of MA...

8 months ago | 2 answers | 0

2

answers

Question


Assigning values to a preallocated variable costs more time than to a non-preallocated variable?
Please see the following codes. Why type-1 code is more costly than type-2 and type-3 codes? As far as I know, type-1 preall...

9 months ago | 1 answer | 0

1

answer

Answered
page-wise matrix determinant or eigenvalues
det with for-loop is fatest. format long g [tmr,tf] = testpagemdet(100000) function [tmr,tf] = testpagemdet(times) A = ran...

9 months ago | 0

Question


How to solve out of memory error when constructing sparse matrix
I am construcing a stiffness matrix in finite element computation. I have got i, j, and v vectors as input arguments for spars...

10 months ago | 3 answers | 0

3

answers