Community Profile

photo

Sean Flanagan


Last seen: 11 maanden ago Active since 2022

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


How do you add a multiplication in the numerator of a transfer function.
The equation I need to represent as a transfer function is 5*e-ts/s+5. I coded as follows but my numerator returns as + 5 i nee...

12 maanden ago | 2 answers | 0

2

answers

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

meer dan een jaar ago | 2 answers | 0

2

answers

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

meer dan een jaar ago | 2 answers | 0

2

answers

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


Hi, does anyone know how to stop my for loop overwriting? I need my answer to be a matrix with each element being a 2x2 matrix also.
[M,N] = size(MagGridForceAX); % Establish dimensions for row and column loop counters for i = 1:M for j = 1:N % C...

meer dan een jaar ago | 1 answer | 0

1

answer