Community Profile

photo

MarshallSc


2021년부터 활동

통계

  • Explorer
  • Thankful Level 4

배지 보기

Content Feed

보기 기준

질문


Specify Square Marker in a Plot
For a plot like below: X = (1:25); Y = [2 1 2 2 2 3 1 4 3 2 1 2 3 7 11 8 5 2 3 4 5 8 5 5 7]; fig1 = figure(); set(fig1,'colo...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Remove Terms in Complex Valued Data That Has Only Real or Imaginary Part
I have a complex numeric array (file attached) that some of its terms have only real or imaginary part, and the rest have both t...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Build a Relation Between Matrix Elements
I have a complex valued matrix for example: a = complex(1.1,-1.3); b = complex(1.3,1.2);c = complex(1.5,-1.4); d = complex(1.8,...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


For Loop in 3D Array
For 2D arrays, the operation that I want to execute is: a = rand(3,3); for i = 1:numel(a) for j = 1:numel(a) out...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Solving a set of simultaneous equations
I have the following set of simultaneous equations that I want to solve. I'm just confused as to what solver is the best choice!...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


All the possible path between two points without repetition
I'm looking to get the value of all pairwise data between two points by an iteration. The iteration contains direct and indirect...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Performing Iteration for a Matrix
I want to perform an iterative operation on each element of a matrix according to this equation which is for a 3 x 3 matrix: ...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Plotting a Graph From a Cell Array
I have a cell array, let's call it A, which is a 4 x 4 cell each containing a 10 x 10 numbers from 1 to 5 (the cell array attach...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Find the Minimum Combination of Sum
I have a 100 x 1 vector with numeric values, what I want to find is the minimum combination of the reference point with the uppe...

대략 2년 전 | 답변 수: 2 | 0

2

답변

질문


Cell Array Reshape Operation
I have this 10x10 cell array: I want to reshape it into a 4x4 cell each containing a 10x10 matrix keeping the order of each v...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Error Using cellfun for a Matrix
I have an 81 x 81 matrix that divided it into smaller matrices: a = rand(81,81); n = 3*ones(1,27); a_d = mat2cell(a,n,n) Now...

대략 2년 전 | 답변 수: 2 | 0

2

답변

질문


Performing an Operation on a Matrix Using Complex Numbers
I have a matrix with the operation perfomed as: a = rand(10,10); a_x = @(x) sum((x-a)./(x+a),'all'); aa = arrayfun(a_x,a); I...

대략 2년 전 | 답변 수: 2 | 0

2

답변

질문


Write Similar Expressions in Arrayfun
Is there a concise way to write these 4 expressions so that I don't have to write all of them seperately mayble in a for loop? ...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Roots of Polynomial in for Loop
I have these two vectors that are the 2nd and zero order coefficients: R = [0.0068 0.0036 0.000299 0.0151]; H = [0.0086 0.004...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Quadratic Optimization for 4D in for Loop
I need to find the roots (complex in nature) of an objective function in 4D by using quadratic optimization for the function bel...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Differential Operator in Matlab in 1 Dimension
In common, the differential operation is defined as "dy/dx" which means differentiate y with respect to x and in matlab it's def...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Solving a Second Order Piecewise Quadratic Equation
How can I solve a second order quadraic nonlinear equation for each components of two matrices. For example, having: a=rand(10,...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Multi dimensional vector operation
Can someone please help me with figuring out the code for the operation below: I have two sets of matrices, for example: r_x=r...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


If statement in a for loop
I have a 4*4 array, that each contains a 10*10 matrix. I want to assign a value to the components that are bigger than 1. I wrot...

2년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Vector from character array
If I have a character array for example: A={'high','low','low'} I want to introduce a vector for example B in which if the it ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Creating charts in Matlab
Does Matlab have this capability to draw a chart like below for example: What I want to draw is I have different matrices (x ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Element wise cell division
This might sound very basic and silly, but I have two cells with complex doubles that I need to divide element wise. The problem...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Cell components perpendicular division
If I have a 4*4 cell array that each contain a 10*10 matrix as below (for example, Aii=10*10 matrix): A={Aii Aij Aik Ail; ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Calculating divisions in matrices
If I have 8 different 10*10 matrices, for example as: Ai=rand(10,10); Aj=rand(10,10); Ak=rand(10,10); Al=rand(10,10); Bi=...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Perform operation on character arrays
How can I perform some operations on character cells? For example, after an if statement for a numeric cell array, I get another...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


If statement for cells
Hi, I have 3 different cell arrays like below - same size (let's call them A, B and C): That I need to evaluate in an if stat...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Multiply a cell array with a matrix in an equation
Hello, I have a cell array like below (let's call it C). C: And a 4*4 matrix for example: A=rand(4,4); I want to multiply ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Cell array and matrix operation
Hello, I have a 4*4 cell array that has a 10*10 matrix within each cell like below (let's call it C): C= And two 10*10 separ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Covert a cell with the same indices into individual matrices
Hello, does anyone how I can convert a 10*10 cell array that each contains a 4*4 matrix into individual matrices. For example co...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Inverse of a cell array
Hello, I'm trying to get the inverse values of a 10*10 cell array, each containing a 4*4 matrix. The code is (credit to Stephen ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기