Community Profile

photo

Christopher


Bath Uni

Active since 2012

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


Hi, I'm trying to find a program line which will make matlab dump numbers that don't respond to an if statement.
if abs(z(1,end,n)-Z)<=Err hold on figure(1) plot(z(1,:),z(3,:)) ...

11 years ago | 1 answer | 0

1

answer

Question


Hi, I'm trying to figure out why my script is only ploting the last input angle, not regarding any of the loops before it.
function [ ] = odeSolver2() tInc = input('Input desired timestep (in seconds)'); % Set initial conditions Z = input('In...

11 years ago | 1 answer | 0

1

answer