Community Profile # Tianshu Yu

10 total contributions since 2019

#### Tianshu Yu's Badges

View details...

Contributions in
View by

Question

scatterInterpolant doesn't work
I have a tetrahedral mesh. I want to plot a contour of its surface. I first test it on a mesh. But the scatterInterpolant return...

2 months ago | 0 answers | 0

### 0

answers

Question

Get the indices of surface triangle from a tetrahedral mesh.
I used the function generateMesh() to generate a 3D tetrahedral mesh (quadratic model). I want to create a matrix TRI. Each row ...

2 months ago | 1 answer | 0

### 1

answer

Question

Make a contour plot of a 3D Solid Object
Hi, I want to make a contour plot of my 3D Mesh. The 3D mesh is not a surface. But a solid object. I have already extract the fa...

2 months ago | 1 answer | 0

### 1

answer

Question

Find the intersection of two surfaces.
Now I have two surfaces. Both of them are extracted from 2 solid 3D objects which are generated by trangular mesh. (Note it's a ...

2 months ago | 1 answer | 0

### 1

answer

Question

Mesh doesn't work for cone shape?
I have a perfect cone shape, which is stored in a the tip_6.stl. I try to use the function generateMesh(). I found that no matte...

2 months ago | 1 answer | 0

### 1

answer

Question

Use the index of an element of a subset to find its index in the large set?
function d_z = distance(tip, samp, search_dis) %tip is a n by 3 matrix, where each row is just the coordinate a point in 3-d sp...

2 months ago | 1 answer | 0

### 1

answer

Question

Find the shortest distance between two object?
My question: (a) I have two object A and B. (They have some general curvy shape. They are objects in three dimension. They are...

2 months ago | 0 answers | 0

### 0

answers

Question

How to preallocate memory if I don't know the size of the variable in every iteration?
I have a large set of data, say A. I have a for loop. In every iteration, I'm going to only work with the subset of data of A, s...

3 months ago | 0 answers | 0

### 0

answers

Question

Solving systems of non-linear equations
I need to solve a system of non-linear equations. For example, I need to solve 10,000 equations, where each individual equation ...

3 months ago | 1 answer | 0

### 1

answer

Question

Why the script of function is always stored in two files ".m" and ".m~"?
I stored my function in my directory as "test_probe.m". However, there's another file also created. It's name is "test_probe.m~"...

3 months ago | 1 answer | 0

answer