Gistlib Logo

gistlib

create a vector of the radius r2 from r2 = r1 to r2 = 3r1 with 11 elements in matlab

main.m
r1 = 1; % radius r1
r2 = linspace(r1, 3*r1, 11); % create a vector of the radius r2 from r2 = r1 to r2 = 3r1 with 11 elements
126 chars
3 lines

similar matlab code snippets

how to calculate the normal distribution in matlab
how to calculate the mode of a vector in matlab
how to calculate the product of a vector in matlab
how to calculate the standard deviation of a vector in matlab
how to calculate the mean of a vector in matlab
how to calculate the variance of a vector in matlab
how to calculate the minimum of a vector in matlab
how to calculate the maximum of a vector in matlab
how to calculate the median of a vector in matlab
calculate the area of a triangle in matlab

related categories

matlab
vector
math

gistlibby LogSnag