topics

全部话题 - 话题: sym
首页 2 3 4 5 6 末页 (共6页)
h**********c
发帖数: 4120
1
来自主题: Programming版 - 计算围棋棋盘合法图案的源代码
我搜索了键单词sym,没有看到属于对称性的文档话
y**i
发帖数: 44
2
现在需要fsolve解一个非线性方程,单独用另一个子程序m文件定义函数,不过函数的自
变量是一个数组,数组维数我将在主文件用input赋值,就是说,我现在需要在子程序里
面不赋初值的定义一个数组,用linspace和one(n,1)都不可以,也不需要symbolic的计算
,所以不能用syms,
该如何
在线请教各位高手,在下水平低劣,问题幼稚,见笑
感谢先
T*******e
发帖数: 47
3
For both the methods introduced below, you may still need make some changes to
have them work on your machine.
For tgif, check: http://www.ida.liu.se/~perkr/tgif.html
Procedure
First of all, make sure you are using the latest version of Tgif and have
ghostscript and some version of Latex installed. Now, to embed Latex generated
text, choose the "Instantiate..." commnd (Ctrl-I) from the "Special" menu.
Now choose "eq4-ps2epsi.sym" and click anywhere on the canvas. A blue textbox
will appear with
S**I
发帖数: 15689
4
来自主题: TeX版 - Helps on LaTeX
一直没见版大有后续动作,俺就先抛个砖吧;欢迎各位补充。
Free online resources:
General:
1. The Not So Short Introduction to LaTeX2e
http://tobi.oetiker.ch/lshort/lshort.pdf
这个就不用多说了,入门者必读。
2. A beginner's Introduction to Typesetting with LaTeX
http://www.ctan.org/tex-archive/info/beginlatex/beginlatex-3.6.pdf
入门读物,对TeX的安装和编辑器都作了详细的介绍,可以作为对1.的补充。
3. A Simplified Introduction to LaTeX
http://www.ann.jussieu.fr/~frey/cours/latex.pdf
另一本入门读物
4. http://www.andy-roberts.net/misc/latex/
简明版LaTeX网络教程
5. The Comprehensive LaTeX Sym
w**n
发帖数: 88
5

In most cases higher version will do, just put a tklib8.0.so sym link pointing
to your tklib8.3.so
or if you want, you could create shared lib from your archive:
1. rename your ar archive to .a
2. ld -shared -no_archive -o tklib8.0.so -all renamed_ar.a -none -lc
w**n
发帖数: 88
6
来自主题: Unix版 - Questions about libg++
sure, libstdc++2.10-2.96-0.83mdk.i586.rpm probably fits your need.
rpm2cpio libstdc++2.10-2.96-0.83mdk.i586.rpm | cpio -idv ./usr/lib/libg++.so.2.7.2.8
libg++.so.2.7.2 is a sym link to this file.
you should be able to do this without root privilege
a****n
发帖数: 56
7
来自主题: Unix版 - [转载] a question about matlab
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: aileen (没事儿), 信区: Linux
标 题: a question about matlab
发信站: Unknown Space - 未名空间 (Sat Apr 9 01:02:14 2005) WWW-POST
I need to plot a function which is a reverse laplace transformation,ie:
syms s
F(t)=ilaplace(1/(2-s));
I got
F(t)=-exp(2*t);
To plot, I need to get a matrix, but I can't put a number in F(t), like F(1),
F(2)...
The function I got is much more complicatedthan the example, I can't just
retype in.
Any idea how to do it? Thanks a lot!
P*******t
发帖数: 202
8
来自主题: Computation版 - a Matlab problem
lambda = 1:1:200;
for a = 1:200
x4(a) = 0.5*(-4*pi+acot(0.5*sqrt(lambda(a))*cot(sqrt(lambda(a)))-0.5));
end
syms z xk % z is \kappa*r_0
for b=1:200
temp(b) = x4(b);
f = 0.5+z*exp(xk)*(-0.5*(besselk(2*i-1,z*exp(xk))+besselk(2*i+1,z*exp(xk
))))/besselk(2*i,z*exp(xk)) - sqrt(1-(z^2)*exp(2*xk))*cot(sqrt(1-(z^2)*exp(2
*xk)));
solve(subs(f,xk,temp(b)),z);
end
//solve解不出来怎么办?
l********r
发帖数: 14
9
【 以下文字转载自 Programming 讨论区 】
【 原文由 littledear 所发表 】
偶的具体问题是这样的。
偶有一个sym object, such as:
y=3*x^2+5*x^7
想把系数和阶次取出放到数组里面。
偶能想到的办法是用字符串比较,找'x','*','^'等关键字,然后取出相应的
字符串,然后转换成数。这在c里面应该不难,不知道matlab是否方便?
有更好的办法实现这个吗?
r****y
发帖数: 1437
10
来自主题: Computation版 - 用Matlab解方程组?

syms a x b;
b = solve('a*x=4', x);
a = 4;
eval(b);
r****y
发帖数: 1437
11
syms x y z
z = x + y
x = 6;
y = 5;
double_z = eval(z)
now double_z is a double precision numeric variable.
r****y
发帖数: 1437
12
I tried this, it worked.
sure you can. All syms gives you is a "string". Then just
evaluate this string.
c*******e
发帖数: 8624
13
To RESHAPE the number of elements must not change.
Error in ==> sym.maple at 94
result = reshape(result,size(varargin{3}));
l******t
发帖数: 286
14
来自主题: Computation版 - 我的matlab7.1问题
我安装了第一张盘(只能安上一个),有一些功能不能用,比如说,sym,slove......
谁知道是为什么?
另外,求mathematica,matlab编程一类的教材
l*****i
发帖数: 3929
15
来自主题: Computation版 - 问个matlab问题
在command window里面敲type syms试试
p*******a
发帖数: 35
16
参数:Xi,eta,对eta积分,积分上下限eta1,eta2是Xi的函数,被积函数G是Xi,eta
的函数,给定Xi范围,846点(前211点一种被积函数形式、积分上下限,其他点另外一
种被积函数形式&积分上下限),目的是分别求每个Xi点对应的积分
程序如下:其中被积函数G复杂,有好几个过渡的表示
clear all;
clc;
syms eta;
Et = 1; r = 100; % transmitter energy; los distance
C = 3e8; Xi = 1.155:0.001:2;
t = Xi*r/C; eta1 = -0.366; eta2 = 0.366; % light speed, spheroidal
coordinate parameters
Ks = 0.231; Ka = 0.746; Ke = Ks+Ka; g = 0.7; % g is mie scattering parameter
K: coefficient
beta_tx = 45*2*pi/360; beta_rx = 45*2*pi/360; %transmitter re
h***y
发帖数: 2194
17
比如希望创造一个符号变量
syms a
而希望a是一个结构体 struct('a1',[],'a2',[] ...)
呵呵
O**M
发帖数: 29
18
1. Click menu "SPECIAL -> DOMAIN -> CHANGE DOMAIN"
Select "Examples" and click OK. This step is needed
only once each time you start tgif.
2. Click menu "SPECIAL -> INSTANTIATE"
Select "eq4-ps2epsi.sym" and click OK.
You will see a small empty equation box floating around.
Place it where you want, and you will see blue Latex code
on top of it.
3. Double click the blue Latex code (not the equation box
itself), the equation is visible now.

4. Select the equat
s******e
发帖数: 841
19
来自主题: EE版 - 问一个Matlab的问题
六个变量五个方程,我想把b, a1, a2, b1, b2都用a表示,
syms a b a1 a2 b1 b2;
[b,a1,a2,b1,b2]=solve('a1*125+b1=a*125+b*1.1','a2*80+b2=a*80+b*1.1', ...
'a1*100+b1*1.1=a2*100+b2*1.1', ...
'(a1*156.25+b1*1.1)*2/3+(a1*100+b1*1.1)/3=(a1*125+b1)*1.1', ...
'(a2*100+b2*1.1)*2/3+(a2*64+b2*1.1)/3=(a2*80+b2)*1.1');
这个代码得到的结果并没有给出每个变量都用a表示的结果,而是比如b1表示成了a,a1
和b的组合,请问我怎么样才能解决这个问题
谢谢
t****t
发帖数: 6806
20
来自主题: EE版 - 数据通信问题请教
i am not saying that you need to reconstruct the waveform. but for a W Hz
bandwidth signal, you only need (>) 2W/s sample; that's all the information
it contains. of course, the new (resampled) samples is not the transmitted
sample (e.g. MSK), you probably need much more bits/sample to demod it. but
in the end, if you transmit a 100K sym/s BPSK or BMSK signal (=100Kbps) and
limit the band by filtering it to 30KHz, when you demod it, you only need
60K sampling rate. any higher sampling rate is th
首页 2 3 4 5 6 末页 (共6页)