Community Profile

photo

Kevin Connor


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How do I define a variable I just made with an IF statement?
>> if x1 <= 0 x2 = x1./2 elseif x1 >= 0 x2 >= x1.*2 end x3 = sqrt(y.^2 + x2.^2); figure(1) plot(...

8 years ago | 1 answer | 0

1

answer