gistlib
other matlab categories
arithmetic code snippets in matlab
addition of two variables without using functions in matlab
create a 5 by 3 matrix, that starts 1-2, then doubles each column in matlab
divide the sum in step by 11 to get the remainder in matlab
divide values in matlab
function takes a person's birthday in year-month-day format and % calculates the number of days until their next birthday from the current % date in matlab
given the vectors x = [ 6 15 10 ] and y = [ 3 19 8 ] the array quotient w = x./y and z = y./x. are in matlab
how to change the diagonal of a matrix to be the sum of its position on row and column in matlab
r = 0; for y=1:2:5 r=r+3; end in matlab
square (x-y) in matlab
gistlib
by LogSnag