title: matlab function using excel colums definiton of x
body: <p>If you want matlab to describe a function y=f(t) with t being the independent variable. This function has 8 parameters that differ based on the subject.</p>
  
  <p>These 8 parameters are listed columnwise in an excel column uploaded in a matlab file and called upon by</p>
  
  <pre><code>m1=xlsread('jongens0','A:A'); 
  </code></pre>
  
  <p>and this for all eight parameters </p>
  
  <p>I need the differentiated curve of my function y=f(t) zo i defined my independent variable t </p>
  
  <pre><code>tmin=0;
  tmax=20;
  dt=1/100;
  t = tmin:dt:tmax;
  </code></pre>
  
  <p>Problem is that t seems to be a 1*200 vector by this convention, whereas my parameters are 50*1 column vectors so if i try to multiply them. How can I make t act like the independent variable of a function? </p>
  
  <p>or do i need to put this into a function editor? Instead of the command script?</p>
  
  <p>I'm a real noob at programming so my apologies if the question is downward stupid :-)</p>
  
  <p>Thanks for helping out</p>