gistlib
other matlab categories
user input code snippets in matlab
create a matrix of any size that asks for rows and column. the first row is one and last row is 0 in matlab
import multiple .tiff images into a structure, from a user inputed directory in matlab
import multiple .tiff images into a structure, with fields of filename and file size, and a user inputed pixel size field in matlab
programme a calcualtor in matlab
prompt the user 'please enter the fin dimensions [l,b, w] as a vector" and assign the user input to variables l, b, w, respectively in matlab
use while loop to validate user input. the input must be a 1x3 row vectow, if not, the code must notify and promt the user to re-enter the vector in matlab
using input form from user, use for and while loops for the number in matlab
while loop 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
gistlib
by LogSnag