Statistiques
RANG
36 517
of 300 750
RÉPUTATION
1
CONTRIBUTIONS
42 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
64.29%
VOTES REÇUS
1
RANG
of 21 073
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 170 837
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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 ...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Is it faster to operate a sparse matrix than a dense one when they have the same size?
Hi all, Imagine I have 2 same size matrices, both takes only the upper triangular part and sparse, their sparsity is like thi...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to recover a square matrix from its upper triangular cell part?
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...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
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 ...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to compute the indices of a square matrix?
Hi all, Imagine I have indices: i, j, k, l, I write for i = 1:1 for j = 1:1 for k = 1:2 for l = 1:2 ...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
Operations for calculating l1 and 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...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Fprintf: how to automatically move to a new line when reach end of screen?
Hi all, I have something like this: clear; clc; for i = 1:100 fprintf('%d', i) end Here I use fprintf to...
plus de 8 ans il y a | 5 réponses | 0
5
réponsesQuestion
How to plot the 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 ...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Concatenate cell array along one dimension
Hi all, I have a cell array like this: cellA = [12x2 double] [12x2 double] [12x2 double] [12x2 doub...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Extract and realign cells into new cell
Hi all, I have a cell array 'cellA' which contains cell: cellA = {2x1 cell} {2x1 cell} {2x1 cell} {...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Optimize RAM cost by only storing upper triangular part of a symmetric matrix?
Hi all, I have some symmetric (almost dense) matrices which I wish to store only the upper triangular part such that I can op...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
Lagrange interpolation in 2D?
Hi all, I'd like to find the interpolating polynomials on a 2d domain. Imagine we have sample points (x1, y1), ... ,(xn, ...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 8 ans il y a | 1 réponse | 0
0
réponseDynamically update cell without clearing previous content?
solution: 'a' can be dynamically updated without special treatment: clear; clc; nr = 1; a = cell(1); for i...
plus de 8 ans il y a | 0
| A accepté
Question
Dynamically update cell without clearing previous content?
Hi all, I'd like to dynamically update cell content and size, without clearing the previous cell content. Check the following...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
Any recommendations for 3d FEM toolboxes in MATLAB?
Hi all, I have a finite element mesh including nodes and connectivity imported from Abaqus, which looks like this: >> ca...
plus de 8 ans il y a | 1 réponse | 0
0
réponseQuestion
Variable size: does it reflect real size after computation finishes?
Hi all, I have a program which produces a 40227 by 50 double matrix. I'd like to optimize storage so I want to check total me...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
Built-in functions VS explicit loops: which is faster in MATLAB?
Hi all, I did some speed tests with implicit functions and explicit loops, both repeat 1000 times and calculate average time....
plus de 8 ans il y a | 1 réponse | 0
0
réponseQuestion
Avoid for loops, use cell operation
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 ...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Avoid for loops, use cell operation to do: r2' * r1 * l1' * l2
Hi all, Say I have 2 simple 1-by-2 cells, I'd like to perform operation like this: r2' * r1 * l1' * l2 to obtain a 2-by-2 mat...
plus de 8 ans il y a | 1 réponse | 0
0
réponseQuestion
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...
plus de 8 ans il y a | 1 réponse | 1
1
réponseQuestion
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)...
plus de 8 ans il y a | 1 réponse | 0
1
réponseHow 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...
plus de 8 ans il y a | 0
| A accepté
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...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to use savefig to save .fig to a specific location?
Hi all, I'd like to use savefig to save .fig files to a specific location, such as: savefig('test.fig') to here: ...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How to find out the dependency of functions?
Hi all, For a function, I'd like to find out which scripts and functions are calling it. For example, there is a function: ...
presque 9 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to communicate among objects from different classes in a solid way?
Hi all, This is a really long question, thanks for your patience! Imagine I have two classes like this: classdef beam...
presque 9 ans il y a | 1 réponse | 0

