統計
All
Feeds
質問
matlab plot three different colors for three different change (red, yellow, blue)
In https://www.amcharts.com/demos/line-different-colors-ups-downs/ , <</matlabcentral/answers/uploaded_files/83063/Screen%2...
7年以上 前 | 2 件の回答 | 0
2
回答質問
Very easy question on arrayfun or vectorization
The question is: x0 = [3;8] K = [1 2 3 8 9 10; 2 3 9 -1 2 3]; How can I obtain P where P = [[1 2;2 3]*x0 [3 8;...
7年以上 前 | 0 件の回答 | 0
0
回答質問
Two questions on vectorized matrix vector multiplication
The first question is: x0 = [3;8] K = [1 2 3 8 9 10; 2 3 9 -1 2 3]; In general K is of size 2 by n, where n is even....
7年以上 前 | 1 件の回答 | 0
1
回答質問
vectorization: matrix array multiplication element wise one by one
Vectorization without loop: I have a matrix: R = [0 -1;1 0]; array = [1 2 3 3646 68 534 342 1 2 3]; how can I obt...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Matlab integration with one integration step in matlab ode suite
Scipy integration allows us to do ode integration one adaptive timestep at a time and do something to it. However, matlab ode ne...
8年弱 前 | 0 件の回答 | 0
0
回答質問
cell array multiplication vectorization
I have J and K a cell array of matrices inside. I want to obtain L J = [18x18 double] [18x18 double] ...
約8年 前 | 1 件の回答 | 0
1
回答質問
ODE solver in Matlab advancing in just one timestep not multiple steps
[t,y] = odeXX(odefun,tspan,y0) Say I have a solver odeXX, and the `tspan = [0 0.005]`. It seems that for any ode solver in ...
約8年 前 | 0 件の回答 | 0
0
回答質問
Undocumented way to output the smallest 3 eigenvalues of the 500 eigenvalues using eig?
In the documention of eigs: _ Using eigs is not the most efficient way to find a few eigenvalues of small, dense matrices. I...
約8年 前 | 1 件の回答 | 0
1
回答質問
Pointwise multiplication of 3d array with 2d matrix and 1d array and summation by vectorization
I have a 2 by 2 matrix A = rand(2,2) and a 1 by 5 vector v = [8 9 12 10 11]; I have a 3d array of dimension 2 ...
約8年 前 | 1 件の回答 | 0
1
回答質問
Produce a matrix from pointwise outer product from vectors of different length
I have 3 by 1 vectors u, v1, v2, v3. I also have a 1 by 9 vector v = [v1' v2' v3'] concatenating the conjuga...
約8年 前 | 1 件の回答 | 0
1
回答質問
Matlab: element wise complex conjugate transpose?
vi is a 10 by 1 complex vector. c = [v1 v2 v3 v4 v5 v6] is a list of 10 by 6 containing them. What is the fastest or ...
約8年 前 | 1 件の回答 | 0
1
回答質問
Element wise multiplication to matrix in a "matrix array"?
I have an array of matrix m such that m1 = [1 2;3 4]; m2 = [2 7; 8 9]; m3 = [9 7; 8 91]; m = [m1 m2 m3] m = ...
約8年 前 | 1 件の回答 | 0
1
回答質問
How to from a list produce a list of all distinct difference of elements and find out it comes from efficiently?
Let a list be j = [1 2 3 16 27 39 78 88 98]; How to produce a list of all the distinct differences from one index to t...
約8年 前 | 2 件の回答 | 0
2
回答質問
Vectorization in cell array assignment without nested for loop
I have c being a large sparse matrix computed before and want to assign value to cell array D by using the outer product of c co...
約8年 前 | 1 件の回答 | 0