04-17-2007 10:53 AM
04-18-2007 01:52 PM
SR=6.4;
v=0.029;
a=(1/(2*SR));
c=0.02997055434;
z1=-c/(twotau(300,350, 50));
z2=c*deltat(5,35, 30)/(twotau(300,350, 50))^2;
z3=sqrt((z1^2)*(a^2)+(z2^2)*(a^2));
z4=(z3/v)*100;
04-18-2007 11:49 PM
04-19-2007 08:26 AM
SR=6.4;
v=0.029;
a=(1/(2*SR));
c=0.02997055434;
twotau = linspace (300, 350);
deltat = linspace (5, 35);
[xx yy] = meshgrid(twotau, deltat);
z1=-c/twotau;
z2=c*deltat/twotau^2;
z3=sqrt((z1^2)*(a^2)+(z2^2)*(a^2));
z4=(z3/v)*100;
surf(xx, yy, z4);
Error in function mrdivide at line 8. Analysis: The input sequences must be the same size.
04-19-2007 08:34 AM - edited 04-19-2007 08:34 AM
SR=6.4;
v=0.029;
a=(1./(2.*SR));
c=0.02997055434;
twotau = linspace (300, 350);
deltat = linspace (5, 35);
[xx yy] = meshgrid(twotau, deltat);
z1=-c./twotau;
z2=c.*deltat./twotau.^2;
z3=sqrt((z1.^2).*(a.^2)+(z2.^2).*(a.^2));
z4=(z3./v).*100;
surf(xx, yy, z4);
Error in function surf at line 12. The sizes of the input matrices are incompatible. Verify that the matrices have the same size or that one is a scalar.
Message Edited by DonRoth on 04-19-2007 08:35 AM
Message Edited by DonRoth on 04-19-2007 08:41 AM
04-20-2007 09:03 AM
04-20-2007 02:14 PM
Yes, this worked fine. Thanks for helping to get me off the ground on mathscript.
Sincerely,
Don
04-23-2007 08:01 AM
04-24-2007 10:01 AM
04-24-2007 10:23 AM
I meant reversing the range on the X and Y axes so all ranges increase from the origin. So as you said, it does not appear this is possible. I suppose I can go to the mathscript node and then use the surface graph within LabVIEW to do this. I would think you would want to have this option available - it is more prevalent to consider axes ranges as increasing from a common point.
Sincerely,
Don