Community Profile

photo

Nicholas


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


New to MATLab, need help using a .txt file on a graph
load PingPongLabFig.txt g = 9.81; v0 = 5.1119; theta = 0; y0 = 1.37; t = PingPongFig.txt; x = v0*cos(theta)*t...

9 years ago | 0 answers | 0

0

answers

Question


How to combine a while loop and a for loop on one graph
the while loop is set up as such fig=figure(1); x(1)=0; fx(1) = 0; index = 2; while (x<20) & index < 1000 x...

9 years ago | 1 answer | 0

1

answer

Question


I am brand new to MATLab and do not know how to do a whileloop
x=0; while (x<20) x=x+1 f(x)= x^3 - (5*x)^2 + 2^(x) - 10000.*x; fig=figure(1); clf; grid on; hold on; ...

9 years ago | 1 answer | 0

1

answer