Community Profile # Sean Flanagan

Last seen: 3 maanden ago Active since 2022

#### Statistics

• #### Content Feed

View by

Question

I keep getting "Array indices must be positive integers or logical values". error
Heres my code, why do I get the error? clc clear % Given values L = 0.05; qL = -100-(4.6611*5); qR = -300+(0.3869*5); x...

4 maanden ago | 2 answers | 0

### 2

Question

need a for loop that displays value at each point of x.
I need to write a for loop that performs the same calculation as cumtrapz. I have written this code to solve for the total t...

4 maanden ago | 2 answers | 0

### 2

Question

Use trapezoidal method to find the deflection at each measurement point.
Hi, I have the following 21x2 matrix I need to use loops and trapezoidal method to find the deflection at each measureme...

4 maanden ago | 1 answer | 0

### 1

Question

I need to perform element by element subtractions within a matrix.
I have a 21x2 matrix for a given row say row 12, I need to calculate the errors by using the following numerical schemes; backwa...

4 maanden ago | 1 answer | 0

### 1

Question

I have two matrices the same size 'F1result' and 'F2result'. I need to compare them element by element and create a new matrices 'F' with whichever value is greater.
[M,N] = size(MagGridForceAX); % Establish dimensions for row and column loop counters for i = 1:M for j = 1:N % C...

5 maanden ago | 2 answers | 0