Community Profile

photo

MarshallSc


Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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...

9 days ago | 2 answers | 0

2

answers

Question


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...

11 days ago | 2 answers | 0

2

answers

Question


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? ...

15 days ago | 1 answer | 0

1

answer

Question


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...

17 days ago | 1 answer | 0

1

answer

Question


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...

19 days ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 2 answers | 0

2

answers

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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...

5 months ago | 3 answers | 0

3

answers

Question


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 ...

6 months ago | 1 answer | 0

1

answer

Question


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 ...

6 months ago | 1 answer | 0

1

answer

Question


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...

6 months ago | 2 answers | 0

2

answers

Question


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; ...

6 months ago | 1 answer | 0

1

answer

Question


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=...

6 months ago | 1 answer | 0

1

answer

Question


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...

6 months ago | 1 answer | 0

1

answer

Question


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...

6 months ago | 1 answer | 0

1

answer

Question


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 ...

6 months ago | 1 answer | 0

1

answer

Question


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...

6 months ago | 1 answer | 0

1

answer

Question


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...

7 months ago | 1 answer | 0

1

answer

Question


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 ...

7 months ago | 1 answer | 0

1

answer

Question


Build a relation between matrix components
Hi, I wanted to ask whether there is an easier method to calculate the sum of relations for each component by considering the ne...

7 months ago | 1 answer | 0

1

answer

Question


Calculate the sum of all the relations between a matrix components
Hi, does anyone know how I can calculate the sum of all the relations between a matrix components? For example by having a 3*3 m...

7 months ago | 1 answer | 0

1

answer

Question


Create a cell array from matrices using for loop
Hello, I'm looking to derive a 10*10 cell array that each cell contains a 4*4 matrix within each cell. For example, by having fo...

7 months ago | 1 answer | 0

1

answer

Question


Solve a Set of Equations with Constraints and Interchangeable Varaibles
Hello, is there any way to solve the equations below using interchangeability algorithm (function of X in 4 dimensions-i,j,k,l)?...

7 months ago | 1 answer | 0

1

answer

Question


Assign a label to a point of a matrix in if statement
Hi, I'm trying to assign a label (based on a category from a table) to each element of a 10*10 matrix in an if statement such th...

8 months ago | 1 answer | 0

1

answer

Question


Assign rank to values in a matrix
Hello, I have 10*10 matrix that I want to assign a rank to each element of the matrix in descending order from 1 to 100. I know ...

8 months ago | 3 answers | 0

3

answers

Question


Solve a numerical equation using for loop
I'm trying to solve a numerical equation with with two variables x,y with for loop that are basically normalized of each other ...

10 months ago | 1 answer | 0

1

answer