Terry Poole
Followers: 0 Following: 0
Feeds
질문
For loop to do 900 subtractions
So I have a Double Difference equation in the form of y = (sqrt(BR^2 - B1^2) - sqrt(BB^2 - B1^2)) - (sqrt(BR^2 - B2^2) - sqrt(BB...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
use data from a vector to locate a row in a matrix and extract the data from the row.
So I have a 902x1 vector of unique time stamps, and I have 9 different 901x6 arrays of data (column 1 is the time stamp for each...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to index a cell array in a for loop
So my code works, but it will only show the first file. I have 9 files that will return an 895 x 8 array each, i'm using a for l...
2년 초과 전 | 답변 수: 3 | 0
3
답변질문
SLP optimization yields "Error Z must be at least a 2x2 matrix"
I'm trying to estimate the coefficient of lift and drag and then find the optimal geometry of the body using the SLP method, whe...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
Using syms, after finding diff(x,y) how to insert initial condition into diff's
So, I'm relatively new to using syms in matlab and am stuck, I have the equation and its partials solved, now I need to insert i...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
Help with iteration convergence.
So I have a system of equations that I need to iterate until convergence. I've tried doing this with for loops, while loops, sy...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
Help indexing symbolic ODE in for loop
Ok so my code works, P = [0; 22.25; 44.5]; syms w(x) v(x) Dw = diff(w); Dv = diff(v); for i = 1:3 % Deflection in y dir...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Help with Symbolic For Loop
So I have this code, and it works. But I can't figure out how to get it to store the answers of each of the 3 iterations. It onl...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
help solving an equation using fzero
I need to solve an equation CT = (1/2)*sigma*r.^2*a.*(theta_75+(theta_tw*(r-0.75))-(lambda_i/r')) by first using the trapz fu...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How to iterate an equation to solve for missing variable
So I need to run a loop that inserts a value into a variable inside an equation until the equation equals a known amount. Known...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Is there a way to label the disk margin on a Nyquist Plot?
I can't seem to figure out how to label the gain and phase margins on the bode plot, or how to label the disk margin on the nyqu...
대략 4년 전 | 답변 수: 0 | 0
0
답변질문
Trying to assign a 3x1 matrix to the 1st iteration of a for loop.
clear all; close all; clc; airspeed = 200; windspeed = 15; angleofattack = 15*(pi/180); sideslip = 10*(pi/180); roll = 12...
대략 4년 전 | 답변 수: 1 | 0
1
답변답변 있음
I need help building a dynamically evolving matrix based on a polynomial of unknown or user inputted size.
I finally got it last night by using X=[ones(n,1) x(:)]; for i=2:n X[:,i-1]=X[:,i]+x.^(i+1); end
I need help building a dynamically evolving matrix based on a polynomial of unknown or user inputted size.
I finally got it last night by using X=[ones(n,1) x(:)]; for i=2:n X[:,i-1]=X[:,i]+x.^(i+1); end
5년 초과 전 | 0
질문
I need help building a dynamically evolving matrix based on a polynomial of unknown or user inputted size.
I need help creating an array based on a polynomial of unknown length. Polyval and Poly fit cannot be used. I need something th...
5년 초과 전 | 답변 수: 3 | 0
3
답변질문
How can I build a Polynomial Equation from an array without using Polyval/Polyfit
So, I've completed my homework assignment and it works great! But my Professor said that I couldn't use polyval or poly fit for ...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Problems with Newton/Raphson & other root finding methods
Ok so I have the code intact, I just need to know how to skip the first iteration because using the backwards approximation meth...
거의 6년 전 | 답변 수: 0 | 0
0
답변질문
My while loop is garbage, teacher wont help, and I dunno jack about coding!
Alrighty, so I need to code the bisection method to evaluate a fluid dynamics equation. I've been coding MATlab for ohhhhhh abo...
거의 6년 전 | 답변 수: 0 | 0
0
답변질문
I'm multiplying 2 3x3 matrices and the answer is displaying as a 1x9, how can i fix this?
A=[0.4 0.1 0.2;0.3 0.7 0.7;0.3 0.2 0.1]; b=[0.4 0.1 0.2;0.3 0.7 0.7;0.3 0.2 0.1]; for i = 1:40 b = A*b; fprintf(...
대략 6년 전 | 답변 수: 1 | 0