Gistlib Logo

gistlib

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

main.m
x = [6 15 10];
y = [3 19 8];
w = x./y;
z = y./x;
49 chars
5 lines

similar matlab code snippets

how to calculate the variance of a vector in matlab
how to calculate the standard deviation of a vector in matlab
how to calculate the minimum of a vector in matlab
how to calculate the product of a vector in matlab
how to calculate the median of a vector in matlab
how to calculate the maximum of a vector in matlab
how to calculate the percentile of a vector in matlab
how to calculate the range of a vector in matlab
how to calculate the mode of a vector in matlab
how to calculate the mean of a vector in matlab

related categories

matlab
vector
arithmetic

gistlibby LogSnag