search for: xpression

Displaying 3 results from an estimated 3 matches for "xpression".

Did you mean: expression
2005 Feb 15
0
matlab norm(h) command in R: sqrt(sum(h^2)) - use in an e xpression
...t; the end of > this mail) as > h(i)=((t/d1)^a1)*exp(-(t-d1)/b1)-c*((t/d2)^a2)*exp(-(t-d2)/b2); > h=h/norm(h); > > I do know that norm() in matlab is equal to: > > sqrt(sum(x^2)) > in R > so in R I do it like: > > #function (double gamama) > h <- expression((t/d1)^a1*exp(-(t-d1)/b1)-c*(t/d2)^a2*exp(-(t-d2)/b2)) > > # plot it > t <- seq(0, 20000, by = 100) > t <- t/1000 > plot(eval(h), type = 'l') > > # however this yields an error > h <- h/sqrt(sum(h^2)) ^ ^ Those are still expressions, not v...
2006 Mar 02
2
Graphics question
Hi I am trying to plot two points (with confidence intervals) on a graph to illustrate the value of a particular quantity after 1 and 2 iterations respectively. I'm doing this by plot(cycle,alpha[2,],main="",ylim=c(-8,-3),cex=2,col="red",pch=19,ylab=e xpression(alpha),xlab="cycle") Etc.. Where > cycle [1] 1 2 > alpha [,1] [,2] [1,] -6.227266 -5.762146 [2,] -5.200972 -5.010401 [3,] -4.174677 -4.258655 When I plot this I get the x-axis scale reading 1.0,1.1,1.2,...,2.0 I want to get it to read simply 1...
1998 May 12
0
Compilation problem on OSF/1
...ot; -DOSF1 -DFAST_SHARE_MO >DES -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/us >r/local/samba/private/smbpasswd" >Using LIBS = >Compiling slprintf.c >/usr/lib/cmplrs/cc/cfe: Error: slprintf.c, line 48: Type for rhs of assignment e >xpression is incompatible with lhs (3.3.16.1) > buf = memalign(pagesize, len); > ----^ >*** Exit 1 >Stop. Anyone who knows C and samba better than I do have any ideas? TIA, Bruce Bruce Bowler, Research Associate 207.633.9600 (voice) Bigelow Labor...