Prev: Plotting Quadrics
Next: Java and psychtoolbox
From: Andrew Peckat on 15 Jul 2010 16:58 ok this is what i need done this function: fprintf (vo, 'Volt:offs 0.1') needs to repeat every 100ms and every time it repeats it needs to increase the voltage offset by 0.1, i understand the for function, such as, for f=0.1:0.1:1.0 but instead of just listing the number from 0.1 to 1.0 in increments of 0.1 i need each increment to be inputted into the fprintf function mentioned above. Sorry if i'm making this difficult, i'm a matlab noob..
From: someone on 15 Jul 2010 17:10 "Andrew Peckat" <apeckat(a)indiana.edu> wrote in message <i1nsp0$216$1(a)fred.mathworks.com>... > ok this is what i need done > > this function: > > fprintf (vo, 'Volt:offs 0.1') > > needs to repeat every 100ms and every time it repeats it needs to increase the voltage offset by 0.1, i understand the for function, such as, for f=0.1:0.1:1.0 but instead of just listing the number from 0.1 to 1.0 in increments of 0.1 i need each increment to be inputted into the fprintf function mentioned above. > > Sorry if i'm making this difficult, i'm a matlab noob.. What didn't you understand about the suggestions others have already given you in: http://www.mathworks.com/matlabcentral/newsreader/view_thread/286935 Perhaps you need to describe your problem better.
From: Andy on 15 Jul 2010 17:10 Please don't duplicate threads. You should reply to your other thread instead.
From: Walter Roberson on 15 Jul 2010 17:08 Andrew Peckat wrote: > ok this is what i need done > > this function: > > fprintf (vo, 'Volt:offs 0.1') > > needs to repeat every 100ms and every time it repeats it needs to > increase the voltage offset by 0.1, i understand the for function, such > as, for f=0.1:0.1:1.0 fprintf(vo, 'Volt:offs %.1f', f);
|
Pages: 1 Prev: Plotting Quadrics Next: Java and psychtoolbox |