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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0
1
个回答已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
7 years 前
提问
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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0