Xh Du
Active since 2015
Statistics
RANK
of 115,028
CONTRIBUTIONS
0Problems
0金宝搏官方网站
SCORE
0
徽章数量
0
CONTRIBUTIONS
0帖子
CONTRIBUTIONS
0公共渠道
AVERAGE RATING
CONTRIBUTIONS
0Highlights
平均号喜欢
Content Feed
Question
Try to save structural variable, but not everything is saved
Hi all, I ran my code for a few hours and now I get some results. I'd like to save these data to a .mat file such that I can ...
5年前|1答案|0
1
answerQuestion
Is it faster to operate a sparse matrix than a dense one when they have the same size?
大家好,想象一下我有2个相同大小的矩阵,都只有上三角形的部分,而且稀疏,它们的稀疏性就像...
5年前|2个答案|0
2
answersQuestion
如何从其上三角细胞部分恢复方矩阵?
Hi all, I'd like to compute the upper triangular part only for a symmetric matrix in a block by block way. After some operat...
5年前|1答案|0
1
answerQuestion
Put elements into corresponding locations of upper triangular matrix
Hi all, Imagine I have a vector: inpt = (1:6)'; Now I'd like to put elements of inpt in the upper triangular part of ...
5年前|2个答案|0
2
answersQuestion
How to compute the indices of a square matrix?
大家好,想象一下我有索引:i,j,k,l,我为i = 1:1写作,j = 1:1 for k = 1:2 for l = 1:2 ...
5年前|2个答案|0
2
answersQuestion
计算L1和Frobenius Norm的操作
Hi all, Imagine I have 2 same-length vectors, u1 and u2, and e = u1 - u2. I'd like to calculate 1. l1 norm of e; 2. Frobenius...
5年前|1答案|0
1
answerQuestion
FPRINTF:到达屏幕末端时如何自动移动到新线路?
大家好,我有这样的东西:清除;CLC;对于i = 1:100 fprintf('%d',i)在这里结束,我使用fprintf进行...
5年前|5个答案|0
5
answersQuestion
如何绘制L2 Norm Circle?
Hi all, I'm trying to visualize the l2 norm circle. It seems easy but I'm stuck. This is the code I write to plot the circle ...
5年前|1答案|0
1
answerQuestion
Concatenate cell array along one dimension
大家好,我有一个像这样的单元格数组:cella = [12x2 double] [12x2 double] [12x2 double] [12x2怀疑...
5年前|1答案|0
1
answerQuestion
Extract and realign cells into new cell
大家好,我有一个包含单元格的单元格数:cella = {2x1 cell} {2x1 cell} {2x1 cell} {...
5年前|1答案|0
1
answerQuestion
拉格朗日插值在2D中?
Hi all, I'd like to find the interpolating polynomials on a 2d domain. Imagine we have sample points (x1, y1), ... ,(xn, ...
5年前|1答案|0
1
answerQuestion
MATLAB killed in Linux
Hi all, I'm running my code with a elasto-dynamics model, which has 300 degrees of freedom and 300 time steps, and this probl...
5年前|0answers | 0
0
answers
Answered
Dynamically update cell without clearing previous content?
解决方案:“ A”可以动态更新而无需特殊处理:清除;CLC;nr = 1;a =单元(1);为我...
Dynamically update cell without clearing previous content?
解决方案:“ A”可以动态更新而无需特殊处理:清除;CLC;nr = 1;a =单元(1);为我...
5年前|0
|公认
Question
Dynamically update cell without clearing previous content?
大家好,我想动态更新单元格内容和大小,而无需清除先前的单元格内容。检查以下...
5年前|1答案|0
1
answerQuestion
How to plot solid tetrahedrons in MATLAB?
Hi all, I have information of a mesh including coordinates of nodes and connectivity, how can I plot solid tetrahedrons in MA...
5年前|2个答案|0
2
answersQuestion
Any recommendations for 3d FEM toolboxes in MATLAB?
大家好,我有一个有限的元素网格,包括从Abaqus导入的节点和连接性,看起来像这样:>> ca ...
5年前|0answers | 0
0
answersQuestion
内置功能与显式循环:MATLAB中哪个更快?
Hi all, I did some speed tests with implicit functions and explicit loops, both repeat 1000 times and calculate average time....
5年前|0answers | 0
0
answersQuestion
避免循环,使用单元操作
Hi all, I've asked this question before but didn't get satisfied answer, so I'll change the way of asking. Say I have an ...
5年前|1答案|0
1
answerQuestion
避免循环,使用单元操作to do: r2' * r1 * l1' * l2
嗨,说我有2简单1×2细胞,我like to perform operation like this: r2' * r1 * l1' * l2 to obtain a 2-by-2 mat...
5年前|0answers | 0
0
answersQuestion
Surface plot with semilog z-axis: how to keep the same axis limit for iterative plots?
Hi all, I have an algorithm which generates 4 surfaces iteratively. I'd like to set the z-axis to semilog scale and keep the...
5年前|1答案|1
1
answerQuestion
How to only perform the upper triangular part of matrix operations?
Hi all, I'm trying to solve this problem, where I have to use a nested loop like this: clear; clc; demo = zeros(4, 4)...
5年前|1答案|0
1
answer
Answered
How to avoid repeated computation when the result is a symmetric matrix?
Guess answer is in the comment, credit: Adam. https://uk.mathworks.com/matlabcentral/answers/332568-how-to-avoid-repeated-com...
How to avoid repeated computation when the result is a symmetric matrix?
Guess answer is in the comment, credit: Adam. https://uk.mathworks.com/matlabcentral/answers/332568-how-to-avoid-repeated-com...
5年前|0
|公认
Question
How to avoid repeated computation when the result is a symmetric matrix?
Hi all, When obtaining a symmetric matrix, we know that we only need to compute and store the elements of upper triangular pa...
5年前|1答案|0
1
answerQuestion
Cellfun to extract arrays from multi-dimensional cell
Hi all, Imagine I have a 2-d cell, each cell element is a m by n matrix, I apply SVD on each element such that they are decom...
5年前|1答案|0
1
answerQuestion
Cell in cell in cell...... versus multiDimensional cell
Hi all, Imagine now I have some data to be stored, say there are 24 matrices I need to store. I have 2 choices: 1. use cel...
5年前|2个答案|0
2
answersQuestion
如何使用savefig将.fig保存到特定位置?
Hi all, I'd like to use savefig to save .fig files to a specific location, such as: savefig('test.fig') to here: ...
5年前|1答案|0