Feeds
已回答
How to transform a vector that contains unique elements of symmetric matrix into matrix
I did if by the following modification LoTriIndx = tril(true(d.m*d.q)); temp(LoTriIndx) = epsi; % Fill in the lower piece ...
How to transform a vector that contains unique elements of symmetric matrix into matrix
I did if by the following modification LoTriIndx = tril(true(d.m*d.q)); temp(LoTriIndx) = epsi; % Fill in the lower piece ...
7 years 前 | 0
提问
How to transform a vector that contains unique elements of symmetric matrix into matrix
I have the following vector, I want to create a symmetric matrix from this vector caring about the position of the diagonal elem...
7 years 前 | 2 个回答 | 0
2
个回答提问
Stack a certain vectors of a matrix vertically
I have a hypothetical matrix say a = 1 2 3 2 4 5 3 5 6 in one command, how I can...
7 years 前 | 1 个回答 | 0
1
个回答提问
How to create a matrix with 1 on ij-th position and zeros elsewhere from a lower triangular matrix?
It may be a very simple question For a symmetric matrix A (3x3), say A=[2 4 6;4 8 11;6 11 20], the way to extract its unique el...
7 years 前 | 1 个回答 | 0
1
个回答提问
Perfect use to global variables across functions
I am working with Monte Carlo Simulation approach, some constants have been fixed at the top of the main script also data is sim...
8 years 前 | 1 个回答 | 0
1
个回答提问
Operations on cell arrays over lagged rows
If I have a cell arrays of different dimension, say for i=1 to 10, a cell P{i} of (1:n-1,3) and another Y{i}(1:n,3). I want to ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Shift element of a vector
If i have a vector a=1:10, while I have another vector is a subset of a, say b=[1 2 3 6 7 10]. How I can make a shift of element...
8 years 前 | 1 个回答 | 0
1
个回答提问
How I do the following in a loop to save lines in a code in Matlab
load('mainvar') save('data1','X1','Z1','Y1') load('mainvar') save('data2','X2','Z2','Y2') load('mainvar') save(...
8 years 前 | 1 个回答 | 0

