Community Profile

photo

Madison Goodwin


2018년부터 활동

Followers: 0   Following: 0

통계

Feeds

보기 기준

질문


How to I change the time step in the following loop, so the new time is for the next line of code beign read?
So I have this data that is a three column vector, which has 30 rows. The data is in the columns: volts, counts, time. The time ...

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

1

답변

질문


Why isn't my loop working?
fid = uigetfile('*.*'); fid = fopen(fid); deltat = 0.5; n = 1; while fgetl(fid)~= -1 line = fgetl(fid); line = sscanf(li...

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

1

답변

질문


How to create a loop for going through lines??
fileID = uigetfile(); data = fopen(fileID); line = fgetl(data); line = sscanf(line, '%f V, %i counts, %i ms'); vout = line...

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

1

답변

질문


Loop for classifying variables is not working??????
if x(1) > 31.5 && x(1) < 36.5 if x(2) >= 60 if x(3) >= 2 disp('Successful Kick has been...

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

1

답변

질문


If I want to have x as a 3 element vector say [2,3,2], how to I write a loop to iterate over each value in the array for x?
n = n + 1; t(n+1) = t(n) + deltat; %x(t+deltat) = x(t) + v(t).*deltat x(n+1) = x(n) + v(n).*deltat; %a(t) = agravity + f...

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

1

답변

질문


My code keeps coming up with "Index Exceeds Array Bounds" help?
n = 0; t = 0; deltat = 0.1; m = 0.44; Cd = 0.05; p = 1.29; Ra = 0.135; %Find b using the rearranged formula...

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

1

답변