f



different results in function regress from MATLAB 6.5 to MATLAB 7.0

Hello , anybody knows when I execute the function "regress" to this model (STAR(1))
Yt = 1 - 0-5Yt-1 - (4 + 0.4Yt-1)G(gamma*Yt-1) + et, where G(z) =1/ [1 + exp(-z)],
gamma=4;

et=N(0,1)
I obtain different radically different results from matlab 6.5 to matlab 7.0 that with other models??Any suggestion to avoid this problem???
0
5/25/2011 8:40:20 AM
comp.soft-sys.matlab 211266 articles. 15 followers. lunamoonmoon (258) is leader. Post Follow

3 Replies
1530 Views

Similar Articles

[PageSpeed] 28

On May 25, 4:40=A0am, "Kun Aguero" <isildur20022...@yahoo.es> wrote:
> Hello , anybody knows when I execute the function "regress" to this model=
 (STAR(1))
> Yt =3D 1 - 0-5Yt-1 - (4 + 0.4Yt-1)G(gamma*Yt-1) + et, where G(z) =3D1/ [1=
 + exp(-z)],
> gamma=3D4;
>
> et=3DN(0,1)
> I obtain different radically different results from matlab 6.5 to matlab =
7.0 that with other models??Any suggestion to avoid this problem???

Please show the relevant code.

Hope this helps.

Greg
0
heath (3983)
5/26/2011 4:09:02 AM
Well,I have made several tests and this is the result:
-When I use the function regress in this format in matlab 6.5, it works:
   [B1,BINT1,R_X,RINT1,STATS1]=regress(X(2:length(X))',[ones(length(X)-1,1),X(1:length(X)-1)']);

-When I use the same format in matlab 7.0 it doesn't works, but if I use this format:
 [B1,BINT1,R_X,RINT1,STATS1]=regress(X(2:length(X))',X(1:length(X)-1)');

It works in matlab 7.0. Then I think the problem is how the function regress treats the independent term in both versions??

regards

Greg Heath <heath@alumni.brown.edu> wrote in message <69879944-34b7-4262-a193-0bb545d8cf99@a7g2000vby.googlegroups.com>...
> On May 25, 4:40 am, "Kun Aguero" <isildur20022...@yahoo.es> wrote:
> > Hello , anybody knows when I execute the function "regress" to this model (STAR(1))
> > Yt = 1 - 0-5Yt-1 - (4 + 0.4Yt-1)G(gamma*Yt-1) + et, where G(z) =1/ [1 + exp(-z)],
> > gamma=4;
> >
> > et=N(0,1)
> > I obtain different radically different results from matlab 6.5 to matlab 7.0 that with other models??Any suggestion to avoid this problem???
> 
> Please show the relevant code.
> 
> Hope this helps.
> 
> Greg
0
5/26/2011 7:43:04 AM
regress is producing different results because it is operating on different 
design matrices.

In your first example, your design matrix contains a leading column of ones.
Regress will use this information to  estimate a coefficient for a constant 
term in your model.

Your second example doesn't contain a column of ones.
Your new model doesn't include a constant term.
It's not surprising that this will affect the estimates for the other 
coefficients.





"Kun Aguero" <isildur20022003@yahoo.es> wrote in message 
news:irl0a8$6lc$1@newscl01ah.mathworks.com...
> Well,I have made several tests and this is the result:
> -When I use the function regress in this format in matlab 6.5, it works:
> 
> [B1,BINT1,R_X,RINT1,STATS1]=regress(X(2:length(X))',[ones(length(X)-1,1),X(1:length(X)-1)']);
>
> -When I use the same format in matlab 7.0 it doesn't works, but if I use 
> this format:
> [B1,BINT1,R_X,RINT1,STATS1]=regress(X(2:length(X))',X(1:length(X)-1)');
>
> It works in matlab 7.0. Then I think the problem is how the function 
> regress treats the independent term in both versions??
>
> regards
>
> Greg Heath <heath@alumni.brown.edu> wrote in message 
> <69879944-34b7-4262-a193-0bb545d8cf99@a7g2000vby.googlegroups.com>...
>> On May 25, 4:40 am, "Kun Aguero" <isildur20022...@yahoo.es> wrote:
>> > Hello , anybody knows when I execute the function "regress" to this 
>> > model (STAR(1))
>> > Yt = 1 - 0-5Yt-1 - (4 + 0.4Yt-1)G(gamma*Yt-1) + et, where G(z) =1/ [1 + 
>> > exp(-z)],
>> > gamma=4;
>> >
>> > et=N(0,1)
>> > I obtain different radically different results from matlab 6.5 to 
>> > matlab 7.0 that with other models??Any suggestion to avoid this 
>> > problem???
>>
>> Please show the relevant code.
>>
>> Hope this helps.
>>
>> Greg 

0
rwilley (78)
5/26/2011 12:48:10 PM
Reply:

Similar Artilces:

bar
In MatLab 6.5, the routine above works normal: figure; sem=Average(:,2)./sqrt(Average(:,3)); bar([1:1:7],Average(:,1),sem); ylabel('% of epochs analyzed') xlabel('Frequency Band') title ('Occurrence of Oscillatory Events - Ch X') %Where Average and sem are vectors; But, in MatLab 7.0, the same code cause the following error: ??? Error using ==> xychk Too many input arguments. Error in ==> bar at 53 [msg,x,y] = xychk(args{1:nargs},'plot'); Error in ==> cross_subj_analysis>ok_Callback at 327 bar([1:1:7],Average(:,1),sem); I'd like to know why this occour. Thanks Henrique In article <g7a1j6$l1$1@fred.mathworks.com>, Henrique Amaral <henriquetomaz@uol.com.br> wrote: >In MatLab 6.5, the routine above works normal: >figure; >sem=Average(:,2)./sqrt(Average(:,3)); >bar([1:1:7],Average(:,1),sem); >ylabel('% of epochs analyzed') >xlabel('Frequency Band') >title ('Occurrence of Oscillatory Events - Ch X') >%Where Average and sem are vectors; >But, in MatLab 7.0, the same code cause the following error: >??? Error using ==> xychk >Too many input arguments. >Error in ==> bar at 53 > [msg,x,y] = xychk(args{1:nargs},'plot'); >Error in ==> cross_subj_analysis>ok_Callback at 327 >bar([1:1:7],Average(:,1),sem); >I'd like to know why this occour. When the third argument is numeric, it must be the bar width. barwidth must b...

some problems of codes of MATLAB 7.0 working on MATLAB 6.5
I have used MATLAB for few hours.So I don't know the differences between version 6.5 and 7.0.I want to use some codes of MATLAB 7.0, but they doesn't work in MATLAB 6.5.How to change these codes so that they can work in matlab 6.5.Waiting for your help. Thank you . The codes are like this .I think changing the function findPI may work ,but I don'y know how % PIfun.m % Evaluate a function used to find the PI-line, using Kyle Champley's % method. % % Adam Wunderlich % last update: 5/18/06 function y = PIfun(r,R,h,gamma,x3,sb) temp = R - r*cos(gamma-sb); y = h*((pi - 2*atan(r*sin(gamma-sb)/temp))*(1 + (r^2 - R^2)/ (2*R*temp)) ... + sb) - x3; % find_PI_Line.m % % Find the the parametric interval corresponding to the unique PI-line % passing through the point x for a given helical pitch. % This code implements the method of Kyle Champley. % inputs: P = pitch (cm/turn), R = helix radius, delta_s = s stepsize, x % output: PI = [sb st] % % Adam Wunderlich % last update: 5/18/06 function [PI] = findPI(P,R,delta_s,x) h = P/(2*pi); r = sqrt(x(1)^2+x(2)^2); gamma = atan2(x(2),x(1)); options = optimset('TolX',h*delta_s/100,'FunValCheck','on'); [sb,fval,exitflag] = fzero(@(sb) PIfun(r,R,h,gamma,x(3),sb),... [(x(3)-h*pi)/h,x(3)/h],options); if exitflag ~=1, disp('Error: PI invalid'); end % note that beta=sb in Kyle's formula alphaX = atan(r*sin(gamma-sb)/(R - r*cos(gamma-sb))); st = sb + pi -...

Incompatible of MAT file for Matlab 6.5.1 and Matlab 7.0
Hi! I have recently installed Matlab 7.0. I have save my simulation results in .MAT file. However, these MAT files can't be opened using Matlab 6.5.1. I encountered problem as follows: ??? Error using ==> load Unable to read MAT file D:\MATLAB7\work\results.mat File may be corrupt. How can I solve this problem? Thanks. Linda Please see here: <http://tx.technion.ac.il/~perryb/matlab7/mat7.pdf> In short, save again as: The new features and enhancements are described in the "Release notes" of Matlab. A new feature that causes incompatibility with previous versions of Matlab is the new encoding of MAT files. Matlab release 14 writes character and figure data to MAT-files using Unicode encoding by default. Unicode encoded MAT-files are not readable by earlier versions of Matlab. If you intend to load your MAT-files created with Matlab release 14, you must override the Unicode default during the save. You can override the default encoding by using the -v6 switch with save and hgsave: save filename -v6 hgsave filename -v6 Hope it helps Linda wrote: > > > Hi! > > I have recently installed Matlab 7.0. > I have save my simulation results in .MAT file. > However, these MAT files can't be opened using Matlab 6.5.1. > > I encountered problem as follows: > > ??? Error using ==> load > Unable to read MAT file D:\MATLAB7\work\results.mat > > File ma...

embedded matlab function MATLAB R2009a
I downloaded the MS visual C++ 2008 Express Edition and the SDK as detailed in http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L My embedded function didnt work at the beginning because I did "mex -setup" before I installed my SDK. But after I installed the SDK, I ran "mex -setup" in Matlab once again and choose the MS visual C++2008 as my compiler. Then, my embedded matlab function worked. Thanks to the contribution from above! ...

Eval Function in matlab 6 or 7
I use an old Toolbox in Simulink that use eval function (i.e. 'eval('[xd xt]')'. Newest simulink (in Matlab 6 or 7) cannot evaluate this function (only [xd xt] ist ok). Should I ALL eval functions in Simulink Blocks delete or is other solution? Thanks a lot in Advance. Antonio ...

Matlab engine with matlab R2010b
Hello All, I'm working with an aplication that use the matlab engine. I made the C++ program and it is working well in my pc with matlab 2007b, but the same very basic program shows an error when I tried to compile it in a pc with matlab R2010b. The error is about the icuuc32.dll. ¿Why is asking this DLL? How can I solve this?. Thanks¡ ...

is a bug of MATLAB 7.7.0? how to fix it
I hope to change the vector[ 1...16] to matrix[4 x 4], therefore I run the following m file: test_change.m n=4; m=4; t=16; for i=1:t for j=1:t x1=int64(i/n); y1=rem(i,n); x2=int64(j/n); y2=rem(j,n); a=sprintf('i=%d, j=%d, %d,%d, %d,%d',i,j,x1,y1,x2,y2); display(a); end end Unfortunately, the result was not correct. >> test_change a = i=1, j=1, 0,1, 0,1 a = i=1, j=2, 0,1, 1,2 % here is mistaken, desired result: i=1,j=2, 0, 1, 0, 2 a = i=1, j=3, 0,1, 1,3 % here is mistaken, a = i=1, j=4, 0,1, 1,0 How to fix it? a = reshape(a, [4 4]); or a = reshape(a', [4 4]); depending on if you want it one way or the transposed way. "Guohun " <zhuguohun@163.com> wrote in message news:j1pvm0$8k5$1@newscl01ah.mathworks.com... > I hope to change the vector[ 1...16] to matrix[4 x 4], therefore I run > the following m file: test_change.m > > > n=4; > m=4; > t=16; > for i=1:t > for j=1:t > x1=int64(i/n); > y1=rem(i,n); > x2=int64(j/n); > y2=rem(j,n); > a=sprintf('i=%d, j=%d, %d,%d, %d,%d',i,j,x1,y1,x2,y2); > display(a); > end end > Unfortunately, the result ...

Matlab function #6
Write a MATLAB function computing the product of two arbitrary matrices A, B which are input parameters of your function. In case the sizes of input matrices do not allow to compute the matrix product, provide the corresponding message about the error. You are NOT allowed to use the MATLAB way of multiplication of matrices by simply writing A*B. You will need to write your OWN code to compute the matrix product! My ans function c=matrix_product(A,B) [m1,n1]=size(A); [m2,n2]=size(B); if n1~=m2 error('Wrong sizes of input'); else for i=1:m1 for j=1:n2 c(i,j)=sum(A(i,:).*(B(:,j))'); end end end end may anyone help me to check this please? "Frankie" wrote in message <jl9bac$df5$1@newscl01ah.mathworks.com>... > Write a MATLAB function computing the product of two arbitrary > matrices A, B which are input parameters of your function. In case the sizes of input > matrices do not allow to compute the matrix product, provide the corresponding > message about the error. You are NOT allowed to use the MATLAB way of > multiplication of matrices by simply writing A*B. You will need to write your OWN > code to compute the matrix product! > My ans > function c=matrix_product(A,B) > [m1,n1]=size(A); > [m2,n2]=size(B); > if n1~=m2 > error('Wrong sizes of input'); > else > for i=1:m1 > for j=1:n2 > c(i,j)=sum(A(i,:).*(...

Licensing question 5.0.4 - 5.0.6
We need to upgrade a backup server from 5.0.4 to 5.0.6 (same as live server). Our supplier told us that a base pack upgrade for 5.0.6 is not available and we would have to have 5.0.7. This version of Sco is not certified compatible with our server. Does anyone know if we can install 5.0.7 licences on 5.0.6? Also it feels like the supplier is telling stories to force us into buying a new server. Does anyone know if 5.0.6 base packs are available? Thanks for your help Regards BB p.s. anonymity preserved to prevent Spam. Bigbyte typed (on Tue, Sep 09, 2003 at 04:22:53PM +0100): | We need to upgrade a backup server from 5.0.4 to 5.0.6 (same as live | server). Our supplier told us that a base pack upgrade for 5.0.6 is not | available and we would have to have 5.0.7. This version of Sco is not | certified compatible with our server. Does anyone know if we can install | 5.0.7 licences on 5.0.6? No. But why would you want to? | Also it feels like the supplier is telling stories to force us into buying a | new server. Does anyone know if 5.0.6 base packs are available? What do you mean by a "base pack"? -- JP On Tue, 9 Sep 2003, Bigbyte wrote: > We need to upgrade a backup server from 5.0.4 to 5.0.6 (same as live > server). Our supplier told us that a base pack upgrade for 5.0.6 is not > available and we would have to have 5.0.7. This version of Sco is not > certified compatible with our server. Does anyone know if we can install > 5.0.7 licenc...

syms and laplace m-files in matlab 7.6.0(2008a) don't work or no exist!!!
please help me! I can't use sym, syms , laplace, ilaplace ... for e.g. : >> syms s ??? Undefined function or method 'syms' for input arguments of type 'char'. and there isn't laplace and ilaplace m-files . and also when i used m-file in below link: http://www.mathworks.com/matlabcentral/fileexchange/28400-laplace-m&watching=28400 for laplace.m it was different from once i want! it has more input which i don't know what is! please if it is possible, tell me about syms and send me laplace.m and ilaplace.m from your matlab m-files! thanks "montazer " <darpanaheto@gmail.com> wrote in message <j2ofqq$3jk$1@newscl01ah.mathworks.com>... > > > please if it is possible, tell me about syms and > send me laplace.m and ilaplace.m from your matlab m-files! > You probably don't own a proper license for Symbolic Toolbox. Bruno ...

SNOPT 7.2-4 in Matlab 7.8.0.347
Hello all, I'm attempting to use SNOPT 7.2-4 in Matlab 7.8.0.347 (r2009a) 64-bit (glnxa64) through the mex-file interface that can optionally be compiled along with the rest of the source code. Matlab is running on Red Hat Enterprise Linux 5.8. I compiled SNOPT with gcc v. 4.1.2 and g77 v. 3.4.6; also with gcc 3.4.6. In either case the compilation goes fine. When running the included examples in SNOPT (via the "runAllExamples" m-file), I get back the SNOPT-specific error message: Error using ==> snoptcmex Line is too long to be printed Error in ==> snspec at 11 inform = snoptcmex( snoption, filename ); Error in ==> t1diet at 6 snspec ( t1diet.spc ); Error in ==> runAllExamples at 10 [x,xmul,F,Fmul,info] = t1diet; Tracing this error back through the source code, it would appear that somewhere along the line the length of a string buffer exceeds 140 characters, which throws up this error. I can't figure out why or how to fix it. Incidentally, a naive change in the length of the allowed buffer to something larger than 140 characters either has no effect or throws up a segmentation violation, without any particular reason for one behavior or the other so far as I can tell. A very niche question that's not necessarily Matlab-specific; but hopefully someone out there has had a similar problem and can point me in the right direction. Thanks, Luke ...

Is this a BUG of Matlab 7.0?
I am using Matlab to do one of my project. The Matlab version is 7.0.019920(R14),May 06,2004. However, I find a problem occurred when running a program I coded before, which was executed perfect under previous version - Matlab 6.5. The small example below can demonstrate the problem: type codes: alpha=[0.1:0.1:0.9]; A=eye(1000,1000); A(alpha*1000,1) The error will occur and the message says: "??? Subscript indices must either be real positive integers or logicals." I checked the problem and found the reason is that the alpha(3)*1000 is not 300 (which should be the correct answer). Instead, by using 'format long', the alpha(3)*1000 will be 3.000000000000001e+002. This will lead to that error. if we use for I=1:9 alpha(I)=I; end the problem still exist. I had to type alpha=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9] to avoid this problem. if I change to alpha=[0.01:0.01:0.09] then A(alpha*10000,1) will have the same problem. But this time the problem will occur in the alpha(7). alpha(7)*10000 will not be 700, but 6.999999999999999e+002 I tried this example in two different computers, and it gave the same results. So, I think this maybe a BUG of Matlab 7.0 since the same problem will not occur in Matlab 6.5. In article <eeec933.-1@webx.raydaftYaTP>, zhouzhong2000@yahoo.com says... > I am using Matlab to do one of my project. The Matlab version is > 7.0.019920(R14),May > 06,2004. However, I find a problem occurred when running a progra...

SATA on 5.0.6 or 5.0.7?
Anyone running SCO 5.0.6 or 5.0.7 on servers with SATA drives? I'd like to hear from anyone with SATA based servers and if they met their exceptions for performance and reliability. In the past, I have always used SCSI drives for the performance and customary 5 year warrantee. Now SATA drives are available with 5 year warrantee and manufactures claim the drives are equivalent to SCSI performance at 40% less cost. I have checked my distributors and all the SATA drives I can find are 7200 RPM with the exception of the 36G WD360GD 10k RPM SATA drive. I have a request from a client running SCO 3.2v4.2 on 66 MHz 486 with 4G disk to upgrade to current hardware and OS. SCSI is overkill for this client and the 36G WD looks like a good choice. I'll eliminate all SCSI by using Backup Edge writing to a ATAPI DVD-RAM and upgrade the client to 5.0.6 or 5.0.7 (SCO's web site suggests it has upgrades to Enterprise 6.0 from Xenix/UNIX but there is no part number listed and inquiries come up: Not Available). -- Steve Fabac S.M. Fabac & Associates 816/765-1670 I have switched over most of my small server installs over to SATA raid using the intel SRCS16 raid controller and the 10K 36 gig raptor drives. So far other then one of the cables breaking off the connector during shipping, I have not had any probelms. On the smaller system running aro...

Matlab parallel for loop or Matlab open pool
I am trying to to some computations and I would like to do it in parallel using parfor or by Opening the matlabpool.. as the current implementations is too slow: result=zeros(25,16000); for i = 1:length(vector1) % length is 25 for j = 1:length(vector2) % length is 16000 temp1 = vector1(i); temp2 = vector2(j); t1 = load(matfiles1(temp1).name) %load image1 from matfile1 t2 = load(matfiles2(temp2).name) % load image2 from matfile2 result(i,j)=t1.*t2 end end It work fine but I would really like to know if there is a way to speed thing up ... Thanks a lot in advance! ...

Why does Matlab do this
What is happening when I type rand(1:10) at the command line? Matlab goes into a 10 minute spin - what's going on? Thanks "Robert" wrote in message <j64asi$5v4$1@newscl01ah.mathworks.com>... > What is happening when I type > rand(1:10) > at the command line? > > Matlab goes into a 10 minute spin - what's going on? > Thanks Hi Robert, You're create a 10-D array with that syntax. Do you just want a vector of 10 uniformly distributed random numbers. x = rand(10,1); % or x = rand(1,10); Wayne Hi Wayne, You're right - that's what I was trying to do... but I was just newbie mucking about trying to work out the syntax and I typed that in - then had a looong wait for Matlab to work through it! Thanks for the explanation. Robert "Robert" wrote in message <j64d2h$dvo$1@newscl01ah.mathworks.com>... > Hi Wayne, > You're right - that's what I was trying to do... but I was just newbie mucking about trying to work out the syntax and I typed that in - then had a looong wait for Matlab to work through it! > Thanks for the explanation. > Robert That's fine. Welcome to MATLAB!!! If that's the worst memory-intensive mistake you ever make, you'll be fine :) I've done much, much worse. Wayne ...

moving printers from 5.0.6 to 5.0.7
I have a whole lot of printers attached to ttys(specialix multi serial ports) on SCO 5.0.6, I am setting up a new server with 5.0.7 is there an easy way to move the printers configurations from 5.0.6 to 5.0.7 e,g Can I just copy /usr/spool/lp/*/lp from 5.0.6 to 5.0.7, would that make all my printers appear in 5.0.7 Many thanks denn.el@gmail.com typed (on Mon, May 21, 2007 at 06:39:27AM -0700): | I have a whole lot of printers attached to ttys(specialix multi serial | ports) on SCO 5.0.6, I am setting up a new server with 5.0.7 is there | an easy way to move the printers configurations from 5.0.6 to 5.0.7 | e,g Can I just copy /usr/spool/lp/*/lp from 5.0.6 to 5.0.7, would that | make all my printers appear in 5.0.7 I think I've done exactly that... -- JP ==> http://www.frappr.com/cusm <== On May 21, 5:54 pm, Jean-Pierre Radley <j...@jpr.com> wrote: > denn...@gmail.com typed (on Mon, May 21, 2007 at 06:39:27AM -0700): > | I have a whole lot of printers attached to ttys(specialix multi serial > | ports) on SCO 5.0.6, I am setting up a new server with 5.0.7 is there > | an easy way to move the printers configurations from 5.0.6 to 5.0.7 > | e,g Can I just copy /usr/spool/lp/*/lp from 5.0.6 to 5.0.7, would that > | make all my printers appear in 5.0.7 > > I think I've done exactly that... > > -- > JP > ==>http://www.frappr.com/cusm<== thanks ...

Contribute to MATLAB Central and Win a MATLAB Jacket
Many of you who post to this newsgroup are also regular contributors to the MATLAB Central File Exchange. Look for your favorite contributors on our File Exchange Author Profile page. You can read their profiles and see pictures: <http://www.mathworks.com/matlabcentral/reports/fileexchange/allProfiles/> In a random drawing, we recently awarded MATLAB jackets to three File Exchange authors with profile pages: Michele Giugliano, Andrey Egin, and Denis Gilbert. You can win a jacket, too. Just submit a new file to the File Exchange or update your author profile by December 2003 for a chance to win one of four MATLAB jackets. See the jacket below: <http://www.mathworks.com/matlabcentral/images/jeff3.jpg> Here are some interesting File Exchange facts: - Since its inception in 2001, visitors have downloaded more than 1.25 million submissions from the File Exchange. - In September 2003 alone, visitors downloaded 80,085 files, an average of 2670 a day! .... what if the prize was a free copy of the next version of Matlab :-) majb Min Poh wrote: ....or an offer for employment... aj "bourassa" <bourassa-m@rmc.ca> wrote in message news:3f9d507d$1@rmcnt03a.rmc.ca... > ... what if the prize was a free copy of the next version of Matlab :-) > > majb > > Min Poh wrote: > ...

difference in nftool results-matlab and excel
I have been working on modeling a nueral network through nftool.the result I got from nftool did not match with the one I obtaied through formulating the same model in excel.while formulating model in excel, weight and bias obtained from nftool have been used and same function as used in nftool i.e tansig,purelin have been used. the normalisation has also been done between (-1 1). so i cant find any factor which could possibly change the output but it is happening. please see to it if i have missed out anything. ...

Problem in creating the simulation dll using SIT 2.0.3,matlab 7.1,labview 7.1
I am currently using SIT 2.0.3 ,using this toolkit i am trying to create the simulation DLL for labview.but i am getting the following error in matlab command window Error: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 117 Column: 7Undefined identifier ReleaseVersionError: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 117 Column: 25The == and != operators can only be used to compare values of the same typeError: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 260 Column: 26Undefined identifier ReleaseVersionError: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 260 Column: 44The == and != operators can only be used to compare values of the same type &nbsp; Is this a version problem? I am using Simulation interface toolkit 2.0.3 Matlab 7.1.0.246(R14) Service pack Real time workshop V.6.3 Labview 7.1 Microsoft visual C++ 6.0 &nbsp; Can anybody help me to solve this issue. &nbsp; Hi, Unfortunately, it looks like the versions you are using are indeed not compatible. Here is an excerpt from the <a href="http://ftp.ni.com/support/softlib/labview/labview_toolkits/simulation_interface/2.0.3/sit_2_0_3_readme.html" target="_blank">Read Me file</a> for Simulation Interface Toolkit 2.0.3: To use the Simulation Interface Toolkit 2.0.3, you must be a properly licensed user of and have the following software installed on the host computer. - The MathWorks MATLAB ver...

Sco OpenServer upgrading 5.0.6 to 5.0.7
I need some help. I need to upgrade my Sco O.S.506 to 507 and told me that I need to reinstall all the operative system and not the upgrading of it. Is it true ? Thanks in advance and excuse me if before someone alredy answered this query but I do not find anything about this matter bye Roberto Pineapple typed (on Wed, Apr 07, 2004 at 01:39:46PM +0200): | I need some help. | I need to upgrade my Sco O.S.506 to 507 and told me that I need to reinstall | all the operative system and not the upgrading of it. | Is it true ? No. | Thanks in advance and excuse me if before someone alredy answered this query | but I do not find anything about this matter While In-Place Upgrades do now work considerably better than they did a few years ago, I *still* counsel against them. Use my savefiles script, make good backups, and then a fresh install. -- JP "Pineapple" <roberquaNO@SPAMvirgilio.it> wrote in message news:<c50pa5$vri$1@newsreader.mailgate.org>... > I need some help. > I need to upgrade my Sco O.S.506 to 507 and told me that I need to reinstall > all the operative system and not the upgrading of it. > Is it true ? > Thanks in advance and excuse me if before someone alredy answered this query > but I do not find anything about this matter > > bye > Roberto I had same problem, and I was unable to upgrade . Only fresh reinstall was Ok. Pineapple <roberquaNO@spamvirgilio.it> wrote: >I need some help. >I need to...

Matlab FFT function does not give the correct result
Hi, I am trying to plot my signal(sum of two sines of different frequencies in the the frequency domain using FFT function of matlab. The magnitude plot -> y_mag = real(fft(x,N) is giving correct result. But the phase plot -> y_phase = imag(fft(x,N)); is not giving correct result..... Can someone help me..? Thanks & Regards, shakes_ck _____________________________________ Do you know a company who employs DSP engineers? Is it already listed at http://dsprelated.com/employers.php ? On 16 mai, 12:38, "shakes_ck" <chandrasheka...@patni.com> wrote: > Hi, Hi, > I am trying to plot my signal(sum of two sines of different frequencies) > in the the frequency domain using FFT function of matlab. > The magnitude plot -> y_mag = real(fft(x,N) > is giving correct result. > But the phase plot -> y_phase = imag(fft(x,N)); > is not giving correct result..... > Can someone help me..? You make an error when you resp. compute the magnitude and the phase of your fft using the real and imaginary part of it. To obtain the magnitude plot, you should use the modulus of your Fourier signal: y_mag = abs(ff((x,N)); For the phase plot, you should use the function angle: y_phase = angle(fft(x,N)); or the unwrapped phase using the matlab function unwrap: y_phase = unwrap(angle(fft(x,N))); > > Thanks & Regards, > shakes_ck > Matthieu shakes_ck wrote: > Hi, > I am trying to plot my signal(sum of two sine...

Matlab automation server and Matlab Compiler Run Time
I did a simple excel macro which runs matlab functions sucessfully in a machine with Matlab installed. Now I want to run it in a computer without matlab, with "MATLAB Compiler Run Time" installed. I can add the Matlb automation server type file (mlapp.tlb) sucessfully, but when I try to run it, I get this error: "ActiveX component can't create object" In this line: Set matlab = New MLApp.MLApp Do you know what is missing? Thanks ...

Need help for a matlab mini project
Hello everyone, I have a matlab in class exercise due in few days. I am new to matlab and the instructions provided with the assignment is minimal. Can Someone help me with the basic understanding as in how can I map the problem's solution to matlab script ? I am not able to post question here as it is a jpeg file. Please let me know and then we can discuss further. ...

Call Matlab m-file from Matlab Scrip Node
My problem with matlab script node is related to calling function in matlab.&nbsp; I created an m-file function that takes an imput temperature (from DAQ) and defines a material property.&nbsp; My matlab script node doesn't seem to recognize my function.&nbsp; I have placed the function in the folder the vi is currently located, but it doesn't read it.&nbsp; How do I get matlab script node to read the functions I create in matlab? Add the directory to matlab path, or call the .m file with it full name ( D:\..... \myfile.m) Let me clarify, &nbsp; I have pasted my matlab code into the matlab scrip node. &nbsp; In this code, I have called a subfunction that I have created. &nbsp; Example k(n)=k_c(T(n)) where k_c is a subfunction I have created. &nbsp; How do I get my code in the node&nbsp;to sucessfully read the subfunction k_c? &nbsp; &nbsp; &nbsp; As indicated, you need to add the directory where the .m file containing the function resides to the list of paths that are read in. This is your startup.m file. The other option is to do a "cd" command prior to calling your function to change to the directory where the .m file containing the function resides. Thanks for reiterating the information.&nbsp; My matlab script node is working properly.&nbsp; I had never used the "cd" command in matlab.&nbsp; I always set the working directory when I open the program, and put all the m files into t...

Web resources about - different results in function regress from MATLAB 6.5 to MATLAB 7.0 - comp.soft-sys.matlab

The Feds are demanding that Google unlock phones as well
The American Civil Liberties Union (ACLU) compiled and released a map of where the federal government is currently taking Apple, Google and in ...

Foxconn Takes Control of Sharp
Foxconn Technology Group, the world’s largest contract maker of consumer electronics, announced on on Wednesday that they have officially acquired ...

North Carolina mother charged with murdering her daughter ordered photos of girl
Exactly a month after Macy Grace's death, Jeanie Ditty went to Pennsylvania photographer Sunny Jo and asked for images depicting her reading, ...

‘Batman V Superman’ Will Remain The Main Event With $58M-$66M 2nd Weekend As Major Studios Take A Holiday ...
None of the major studios have any wide releases this Friday and spring break is still in full swing. This only provides a quintessential opportunity ...

Inspired Haunted Mansion stretch gallery/Star Wars mashup
Karen Hallion, a frustrated Disney animator, has updated her brilliant Princess Leia/Haunted Mansion mashup from 2014 with an inspired, complete ...

Watch: Minneapolis Officer Won't Be Charged in Shooting Death of Jamar Clark
Minneapolis police officers involved in the fatal shooting of 24-year-old Jamar Clark will not be charged in his death, prosecutors announced ...

Hamptons Festival Enlists Oscar Winners to Mentor Up-and-Coming Writers
The Hampton International Film Festival has corralled filmmakers including Alexander Dinelaris, the Academy Award winning co-writer of “Birdman,” ...

Launching a new service, fragrance subscription provider Scentbird feathers its nest with $2.8 million ...
Scentbird, the subscription-based service for perfumes and colognes, has added another $2.8 million in venture funding to its $1 million seed ...

Amazon bans cheap USB-C cables in wake of Google engineer’s crusade
Amazon has agreed to formally disallow the sale of cables that don't conform to the USB-C specification after one Google engineer found a number ...

Acer Predator Z850 gaming projector now available play games on a 120-inch screen!
Many PC enthusiasts spend a lot of time researching two things games and hardware. While playing the actual games is the ultimate goal, sometimes ...

Resources last updated: 3/30/2016 7:25:22 PM