First
|
Prev |
Next
|
Last
Pages: 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
read xls files with name 00000.xls and 00001.xls Hi, I want to read a bunch of xls-files in excel. The names of the files are: 00000.xls 00001.xls 00002.xls 00003.xls etc etc. I tried the following code, but that doesn't work, because 'n' becomes 0 (and not 00000)... n=00000; for n=1:11399; winopen([n, '.xls']); %this part doesn't matter n=n+1; end ... 24 Jun 2010 06:21
How to Set Sample Time for my S Function Hi, I have a S Function (level 2 in C) in Simulink. I want to use this S Function triggered by a clock - make the entire operations described in S Function only when a rising edge occurs. I build my S function, added it in a Simulink Subsystem, I added to this subsystem a Trigger connected to a clock. Something i... 24 Jun 2010 06:21
plotting 2-part function Hello I am trying to plot a function defined in 2 parts. Here is my code : function y=H(f) if abs(f)<=4000 y=1/2*(1+cos(pi*f*1/4000)); else y=0; end end But when I try to plot it with f=0:6000; (for instance) it gives me a 0 line... I don't understand. The only way to get the cosine part is to ... 24 Jun 2010 13:00
How to make the output always be between 0 and 1 Oh yes. This one is the recurrence formula for the Poisson pmf. What if I happened to bump into cases such as: for i=1:n x(i)=normrnd(0,1); end where I only want the values of x(i), say between 0 and 1. How do I do it? Thanks. ... 2 Jul 2010 17:57
Plotting 3D of a function with circular domain Hi! I'm having a little problem plotting a function whose problem domain D is circular, i.e. D = D(r,theta) = [(0<r<R), (0<theta<2*pi)]; where R is the max radius of the circle. The problem goes like this: suppose a function z = z(r), for any value of 'r', a corresponding value of 'z' can be obtained. Now plotting ... 24 Jun 2010 05:17
getting problem with image acquitition Hello, I am acquiring continuous image using web cam with following code... vid = videoinput('winvideo',1); .... .... HFig = figure('Toolbar','figure','Menubar', 'figure',... 'NumberTitle','Off','Name','Thermal Profile'); H1 = uicontrol('String', 'Start Capture',... 'Callback', ... 24 Jun 2010 04:12
Saving figures is slow My script plots lots of figures and writes them to disk. This is the slowest part of my code. Can I speed it up by not displaying the figures while they are being drawn? If so, how do I make them invisible? Also, is there a faster save method? I am currently using saveas(gcf,full_path,'jpg') ... 24 Jun 2010 04:12
RTW code customization Hello, I want to generate the auto code using RTW in which the auto code should contain the output port name (output signal name) as export function. E.g. If Matlab model have outputs as temp_out and batt_out, then in generated C auto code I want them as extern BOOLEAN temp_out; extern BOOLEAN batt_out; #d... 2 Jul 2010 21:14
facial features extraction ouzizo(a)gmail.com wrote in message <ffb3c486-32aa-45dc-8157-1c2b27e8b991(a)s31g2000vbp.googlegroups.com>... guys i am doing a project on a face gender classification, one phase of the project is detection some features in the face. I already have the co-ordinates of the two eyes so i donot have to apply face d... 24 Jun 2010 03:07
Simulink Load Flow machine initialization Hi, I need help urgently.. I have a problem at hand. I need too simulate a power system network in simulink, with all that syn generator, load and slack bus. I have learnt from help that the model needs to be set at an initial state as that of steady state. But am unable to figure out hw to get those values. I have ... 24 Jun 2010 02:03 |