gistlib
other matlab categories
`conditional statements` code snippets in matlab
adjust uservalue while uservalue is less than 0 or greater than 80. if uservalue is greater than 80, then subtract 5 from uservalue. if uservalue is less than 0, then add 10 to uservalue in matlab
if syield=0 display enter value greater than 0 in matlab
set the second column from the left to the column number from an unlimited range in matlab
when the user submits 3 invalid entries ask to rerun the program in matlab in matlab
y=f(x) where x has different values. if x<0 y=sinx^2+ abs(x)-100*x; if 0<x<100, y=e^(x^2/pi); if x>100, y=log10(cos(x)). run the program for x=-3;23;180 in matlab
gistlib
by LogSnag