MATLAB Wiki

Welcome to the MATLAB Wiki sandbox!
This page exists so that you can practice editing or formatting (see Help:Editing) without changing any serious content. Feel free to try wiki editing out here first.
There is a tutorial on the Central (coordinating) Wikia that will step you through more of the things you can do. Wiki allow for rather complicated formatting. It can look overwhelming when you begin, but don't let it worry you. Just start with the basics... enter some text, and learn the other pieces as you go. Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.
Best wishes!

% Elin Eckervald

%radioaktivt sönderfall

% ett program som...


%vektor med t-värden

t = 0:10;


%vektor med N-värden

N = 1000*exp((-log(2)/3.8)*t);


%tabell

disp('antal dygn och nukleider')

[t' N']


%graf

plot(t,N)

title('radioaktivt sönderfall')

xlabel('dygn')

ylabel('nukleider')

grid on