由买买提看人间百态

topics

全部话题 - 话题: xmin
1 (共1页)
h***o
发帖数: 539
1
BBS水木清华站∶精华区
发信人: FangQ (奥萨马·本·拉登), 信区: MathTools
标 题: Mathematica函数及使用方法--绘图函数
发信站: BBS 水木清华站 (Sat Nov 28 21:50:37 1998)
Mathematica函数及使用方法--绘图函数
—————————————————————————————————————
十四、绘图函数
二维作图
Plot[f,{x,xmin,xmax}] 一维函数f[x]在区间[xmin,xmax]上的函数曲线
Plot[{f1,f2..},{x,xmin,xmax}] 在一张图上画几条曲线
ListPlot[{y1,y2,..}] 绘出由离散点对(n,yn)组成的图
ListPlot[{{x1,y1},{x2,y2},..}] 绘出由离散点对(xn,yn)组成的图
ParametricPlot[{fx,fy},{t,tmin,tmax}] 由参
l*********8
发帖数: 4642
2
来自主题: JobHunting版 - Insert bounding box
A 2-D bounding box can represented as (Xmin, Xmax, Ymin, Ymax). We have a
set of bounding boxes. There is no intersection between any two of the
bounding boxes.

Now we want to insert one bounding box into the bounding boxes set and merge
the intersected bounding boxes if necessary. Two intersected boxes can be
merged into a big box like this:
Xmin = min(Xmin1, Xmin2); Xmax = max(Xmax1, Xmax2);
Ymin = min(Ymin1, Ymin2); Ymax = max(Ymax1, Ymax2);
Design an algorithm to do t... 阅读全帖
s****d
发帖数: 98
3
来自主题: SanDiego版 - 关于Encanto
Encato今年1月1日以来的恶性犯罪案例 (120例):
http://www.crimemapping.com/DetailedReport.aspx?db=1/01/2014+00 San Diego, California&bcy=3856354.6602493855&bcx=-13030538.436499055&br=1.0&xmin=-13040112.174291756&ymin=3854434.426097287&xmax=-13020964.698706344&ymax=3858294.4960256834
Carmel Valley今年1月1日以来的恶性犯罪案例(37例):
http://www.crimemapping.com/DetailedReport.aspx?db=1/01/2014+00 San Diego, California&bcy=3888126.9294677796&bcx=-13049062.075013515&br=1.0&xmin=-13058629.044393817&ymin=3886194.011349737&xmax=-1303... 阅读全帖
k**********g
发帖数: 989
4
来自主题: ComputerGraphics版 - 问一个图形处理方面的round off error的问题
If it is given beyond doubt that C is a point on the line extension of AB,
then C is outside the finite segment AB iff
C is outside the axis-aligned bounding box
the cartesian product with
( all x in (xmin, xmax) ) and
( all y in (ymin, ymax) )
where xmin = min ( A_x , B_x )
xmax = max ( A_x , B_x )
etc etc.
for 3D, 4D etc just apply cartesian product over all dimensions.
Upon thinking about that, it seems that even if you apply a unitary
coordinate transform (unitary rotation and/or mirroring) ... 阅读全帖
k**********g
发帖数: 989
5
来自主题: ComputerGraphics版 - 问一个图形处理方面的round off error的问题
If it is given beyond doubt that C is a point on the line extension of AB,
then C is outside the finite segment AB iff
C is outside the axis-aligned bounding box
the cartesian product with
( all x in (xmin, xmax) ) and
( all y in (ymin, ymax) )
where xmin = min ( A_x , B_x )
xmax = max ( A_x , B_x )
etc etc.
for 3D, 4D etc just apply cartesian product over all dimensions.
Upon thinking about that, it seems that even if you apply a unitary
coordinate transform (unitary rotation and/or mirroring) ... 阅读全帖
v*****r
发帖数: 1119
6
来自主题: Linux版 - cygwin的替代软件?
cygwin 和 virtual box 有什么可比性?
LZ 遇到的是两分钟就能解决的常见问题,如果是只想用 cygwin/X function 的话,可
以不装 cygwin, XMins http://www.iteisa.com/xmins/ is a repackaged cygwin/X delivery, which don't have all other non-X cygwin functions.
如果对 open source product 不感冒,想用 commercial product 来代替 cygwin/X
function 的话,前面提到的 X-Win32 是一个选择,我用过的一个很不错的
commercial product 叫 Reflection X,当初因为它是 local 的公司开发的,俺买过
一份 license。 这些 commercial product 提供了一个简单的 GUI 让你精调 X
configuration based on which OS platform X programs are running fro
x*y
发帖数: 364
7
来自主题: Computation版 - help! Matlab movie or axis aspect ratio
When I make a movie by matlab, how can I define the axis aspect ratio?
When I use axis equal, the ratio is good but the axis range is changing in
each frame;
when I use axis([xmin xmax ymin ymax zmin zmax]), the axis range is fixed in
each frame but the aspect ratio is not right. I want the axis aspect ratio be
(xmax-xmin):(ymax-ymin):(zmax-zmin), can anyone please tell me how to get
this?
Thanks a lot!
o*****s
发帖数: 1445
8
来自主题: Computation版 - Help change the code of optimization
I have a code like the following. But it is a linear constrained optimization
code. I want to solve nonlinear optimization. How can I change it? I knew
fmincon in matlab. Thanks a lot.
% [xmin,lambdamin,fxmin]=dnewtonlip('f','g',A,b,x0,tol)
%
% Given a function 'f', its gradient 'g', a feasible x0, and
% linear inequality constraints Ax>=b, use a discrete Newton method
% to minimize f, ending at a point xk, with
%
% |f(xk)-f(xk-1)| < tol*(1+|f(xk)|)
%
function [xmin,lambdamin,fxmin]=dn
d***n
发帖数: 412
9
来自主题: Computation版 - Matlab 算数值积分
Hi,
In my matlab code I need to calculate a three-dimensional integration. I used
triplequad(fun,xmin,xmax,ymin,ymax,zmin,zmax). (xmin,xmax,ymin,ymax) are
specifice by exact values, but (zmin,zmax) are going to be the function of x
, and y. I run the following code where only v1, v2, h are variable in
integral other other symples are pre-defined constants. However, I got error
information provided below. Could somebody help me out? Thanks,
F=@(v2, v1,h)(1-(0.5*exp(-0.717*(-(h-2.5+y*(1/v2-1/v1))
h***o
发帖数: 539
10
BBS水木清华站∶精华区
发信人: FangQ (奥萨马·本·拉登), 信区: MathTools
标 题: Mathematica函数及使用方法
发信站: BBS 水木清华站 (Fri Nov 20 21:39:10 1998)
Mathematica函数及使用方法
—————————————————————————————————————
八、数值函数
N[expr] 表达式的机器精度近似值
N[expr, n] 表达式的n位近似值,n为任意正整数
NSolve[lhs==rhs, var] 求方程数值解
NSolve[eqn, var, n] 求方程数值解,结果精度到n位
NDSolve[eqns, y, {x, xmin, xmax}]微分方程数值解
NDSolve[eqns, {y1,y2,...}, {x, xmin, xmax}]
m**********d
发帖数: 60
11
来自主题: Family版 - 希望家庭幸福的JJMM要小心了
再转一个帖子, 就能理解为什么这么多知识分子会上当了。
来源 http://tttan.com/HT/xanc/groups/GROUP_3/science/smthScience/outofscience/zhongguo/qigong/00000006.html
严新(2)--在北大的表演 xmin
发信人: space1 (排骨教主), 信区: Science
标 题: A.严新(2)--在北大的表演
发信站: BBS 水木清华站 (Wed Sep 2 15:42:03 1998)
背景:严新80年代末在北大的一次气功表演轰动一时:手握220V电压,解除电磁屏蔽等.
当时书中记载:pku一位教授给严新出不少难题,最后被严新征服.这教授是北大
地球物理系空间物理教研室教授霍宏X(这个字不会拼,就是泰国的另外一个叫法的第一
个字).
一会接着写.
下面是霍教授与记者谈话:
1987年10月8日我应邀请到严新演讲的会场台上.第一个实验是摸220V的交流电.严新
的确以左右手的拇指,食指分别捏住火线和地线.这条线路上还并联有一个220V40W
的灯泡.这就是关键所在:由余并联线路的
m**********d
发帖数: 60
12
来自主题: WaterWorld版 - [转]亲赴清华——破严新
再转一个帖子, 会不会令严新气功/生命科技狂热者比较失落或者需要人安慰安慰呢? 呵呵,可怜。
http://tttan.com/HT/xanc/groups/GROUP_3/science/smthScience/outofscience/zhongguo/qigong/00000006.html
严新(2)--在北大的表演 xmin
发信人: space1 (排骨教主), 信区: Science
标 题: A.严新(2)--在北大的表演
发信站: BBS 水木清华站 (Wed Sep 2 15:42:03 1998)
背景:严新80年代末在北大的一次气功表演轰动一时:手握220V电压,解除电磁屏蔽等.
当时书中记载:pku一位教授给严新出不少难题,最后被严新征服.这教授是北大
地球物理系空间物理教研室教授霍宏X(这个字不会拼,就是泰国的另外一个叫法的第一
个字).
一会接着写.
下面是霍教授与记者谈话:
1987年10月8日我应邀请到严新演讲的会场台上.第一个实验是摸220V的交流电.严新
的确以左右手的拇指,食指分别捏住火线和地线.这条线路上还并联有一个220V40W
的灯泡
m**********d
发帖数: 60
13
来自主题: WaterWorld版 - [转]亲赴清华——破严新

有的工农兵大学生科学素质差,也罢了,但像下面这样给收音机穿根线可就有点。。。
。我就不明白,为什么有些所谓功德高尚的人近距离就显出人品有那么大的问题呢?
不过你要是在国际严新气功/生命科技学会里学的话,恐怕不会看到这些资料的,那天要是出问题你就清醒了。我的一些朋友(学了多年的)也是直到问题降临到他/她身上才后悔莫及的,之前还拼命劝我练。
http://tttan.com/HT/xanc/groups/GROUP_3/science/smthScience/outofscience/zhongguo/qigong/00000006.html
严新(2)--在北大的表演 xmin
发信人: space1 (排骨教主), 信区: Science
标 题: A.严新(2)--在北大的表演
发信站: BBS 水木清华站 (Wed Sep 2 15:42:03 1998)
背景:严新80年代末在北大的一次气功表演轰动一时:手握220V电压,解除电磁屏蔽等.
当时书中记载:pku一位教授给严新出不少难题,最后被严新征服.这教授是北大
地球物理系空间物理教研室教授霍宏X(这个字不会拼,就是泰国
S****t
发帖数: 1186
14
来自主题: Programming版 - size of structure
I have a structure defined as:
typedef struct{
char FileCodes[4], U1[4], U2[4], U3[4], U4[4], U5[4], FileLength[4];
int Version, Shape;
double Xmin, Ymin, Xmax, Ymax, Zmin, Zmax, Mmin, Mmax;
}FileHeader;
I used "sizeof(FileHeader)" to get the size of this structure. When I use gcc
in Unix environment, I get 100, which is my expectation. However, when I use
VC in Windows XP, I get 104 all the time. I am really confused about this.
Any help? Thanks.
S****t
发帖数: 1186
15
来自主题: Programming版 - size of structure
thanks a lot! this makes sense. i have a further question.
since the file i am reading has a fixed header length of 100.
can i still use
fread(&shapeFileHeader, sizeof(shapeFileHeader), 1, fpShapeFile)
to read the header into the header structure or I need to read the fields (
like
Shape, Xmin, etc) one by one to address the disparity? Thanks again!
s*******e
发帖数: 664
16
来自主题: Programming版 - [合集] 急问算法题
☆─────────────────────────────────────☆
ilvch (From here to eternity) 于 (Wed Jul 1 22:51:00 2009, 美东) 提到:
今天晚上必须要给答案
有一组长方形, 每个用 (xmin, ymin) (xmax, ymax) 表示
给一个点(x,y), 如何找出这个点落在哪个长方形内?
如果没有这样的长方形, 要给出否定答案.
应用上就是如何判断鼠标点在哪个窗口的问题.
据说有两个可行算法.
☆─────────────────────────────────────☆
goodbug (好虫) 于 (Wed Jul 1 23:04:08 2009, 美东) 提到:
长方形应该很简单,一个简单办法就是做跟坐标轴平行的两条线,
如果都相交而且交点在两侧就是在内部。

☆─────────────────────────────────────☆
thrust (祝阳阳早日康复) 于 (Wed Jul 1 23:13:50 2009, 美东) 提到:
0度角的长方形用不着
g******s
发帖数: 733
17
用mesh画图之后用
axis([xmin xmax ymin ymax zmin zmax])
把图放大,图形的视角变了(xy平面不再是菱形了)。请问该怎么才能维持xy平面的菱
形形状?
先谢了!
t**g
发帖数: 25
18
来自主题: Physics版 - 请问一个mathematica作图的问题
要plot一个函数f(x),x属于[xmin,xmax],但是x只取整数
找了半天help没找到,请问这种情况应该如何plot
多谢!
f**********c
发帖数: 651
19
来自主题: Physics版 - 请问一个mathematica作图的问题
ListPlot[Table[{x,f(x)},{x, xmin,xmax,1}]]
s***e
发帖数: 911
20
来自主题: Science版 - 顺流而下
发信人: xmin (虚?实?), 信区: Science
标 题: 趣味科学问题系列(10)-------顺流而下
发信站: BBS 水木清华站 (Tue Aug 31 12:59:03 1999)
旅行家或常在水面活动的人会观察到一个十分奇怪的现象,就是没有帆
没有人划桨的小船,当它在水流里顺流而下时,会比水流运动得快些; 并且
小船越重,运动得越快,从而超过轻的漂流在水面上的木块之类。
请问这是什么原因?
s***e
发帖数: 911
21
来自主题: Science版 - 顺流而下
发信人: xmin (虚?实?), 信区: Science
标 题: 趣味科学问题解答系列(10)-------顺流而下
发信站: BBS 水木清华站 (Fri Sep 3 12:46:26 1999)
参见ruster和sine中被G的相关文章:整个过程是由于顺流而下,开始物体受到的重力沿
水面方向的分力比水面对物体的阻力大,从而加速下滑,直到水面阻力等于重力在该方向
的分力,而水面阻力大小是随速度增大而增大(在低速和高速下,与速度分别是平方关系
和正比关系),引起最后的末速度取决于重力在斜面方向的分力。因此物体重量越重,末
速度越快,并从而可能超过水速。
A***s
发帖数: 389
22
来自主题: Science版 - 再请教一个mathematica问题
想画两个函数的二维图像,问题是它们的定义域不同,应该怎么办呢?
Plot[{f1,f2..},{x,xmin,xmax}]的定义域是一样的....
谢过先!
1 (共1页)