First  |  Prev |  Next  |  Last
Pages: 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912
Stateflow and To Workspace block
Hi, I have a script that parses the simulink model for signal lines with names and adds To Workspace blocks for that particular signals. The problem is it adds To Workspace blocks for the outputs of stateflows in the simulink model even though there are no signal names given for the lines connecting stateflow output... 20 Apr 2010 15:54
return to begin of function
Hello, I have a question: with what command can i let the function return to the begin of the function? for example if a value meets with an if statement, then the function must start over again. How can I do this? ... 20 Apr 2010 15:54
textscan reads only the first data line
I'm trying to read a .txt file with headers, using textscan. This works fine for some files, but in some it only reads the first line of data. My code: fid = fopen([name,'_taskdata','.txt'], 'r'); readdata = textscan(fid, '%f %f %f %f %f %f %f %f %f %f\n', 'headerlines', 4); taskinfo = cell2mat(readdat... 20 Apr 2010 15:55
return to begin of function
Hello, I have a question: with what command can i let the function return to the begin of the function? for example if a value meets with an if statement, then the function must start over again. How can I do this? ... 20 Apr 2010 15:54
Matlab mexing with gfortran -- String handling.
Dear all, I have to create a mex interface for MatLab with a fortran 90 code. The compiler that I have to used is gfortran 4.5 for win xp 32 bits. My interface needs to read a MatLab string to pass its value to the fortran code. This is where problems start: I have problems with function using string, specially... 29 Apr 2010 07:51
calculation problem
Walter Roberson wrote: xiscopolo Polo wrote: So, rewriting from the mess you posted into matlab, and guessing that you mean implied multiplication in some cases: Zf1 = 1/sqrt(cos(x)^2+i*sin(x)*cos(y)*4*beta) / ke + (2*beta/ke)^2 ); which is a syntax error, as it has too many ')'. beta =... 20 Apr 2010 15:53
Constrained Portfolio Optimization
I have encountered a portfolio optimization problem and I am seeking for some help here: Problem: Select an optimal portfolio from two asset class A & B under the mean-variance framework. Constrains: Total Weight=100% Min total weight from asset A: 40% Max total weight from asset A: 70% Min total weight ... 20 Apr 2010 15:53
plot help
Hi, sorry...I guess I should have been more clear. I do not know how to edit xaxiis. It rounds it but I'd rather it appear the same as time vector. THANKS TideMan <mulgor(a)gmail.com> wrote in message <3ce3d093-7420-451e-899f-b53ee6572f9f(a)m24g2000prc.googlegroups.com>... On Apr 20, 1:59 pm, "jenya polyakova" <jeny.... 20 Apr 2010 15:54
display something for 2 seconds
does anyone know how to display something for a certain time using disp fprintf or any other function? ... 20 Apr 2010 15:53
connected component algorithm with given predicate
I need a code for findng connect components with a given predicate.The input is matrix with varies values and I shold connect neighbours pixels if their values ratio is not more than 3.Does anyone have such a code? ... 20 Apr 2010 15:53
First  |  Prev |  Next  |  Last
Pages: 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912