由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - MATLAB 入门问题一个
相关主题
请教大牛们一个薪水问题[合集] 请问做quant的有用matlab的么?
the brainteaser...[合集] Monte Carlo 如何把Matlab的控制结构转换成Excel程序?
问一道题目 包子酬谢![合集] 如何用matlab求解CDaR这个LP?
问一道题。[合集] ECE Fresh PhD 申请MFE请教
【Brain Teaser】one interview questionquant 用matlab要用matlab oop吗?
求电子书:Financial Trading Systems Design And Development With C++[合集] 问个regime switching的问题
[合集] 有人做quant用Matlab的么?[合集] 请帮帮忙看下background吧,也问下MFE的申请
[合集] MATLAB 中Large-Scale Medium-Scale 有啥区别matlab r2007a for mac (intel cpu) (转载)
相关话题的讨论汇总
话题: rem话题: integer话题: tks话题: remainder话题: same
进入Quant版参与讨论
1 (共1页)
K*******1
发帖数: 85
1
if rem(n,2) == 1
n=3*n+1;
else
。。。
rem(n,2) == 1是啥意思?
Tks
f*******g
发帖数: 377
2
Remainder after division
S*********g
发帖数: 5298
3
>> help rem
REM Remainder after division.
REM(x,y) is x - n.*y where n = fix(x./y) if y ~= 0. If y is not an
integer and the quotient x./y is within roundoff error of an integer,
then n is that integer. The inputs x and y must be real arrays of the
same size, or real scalars.
By convention:
REM(x,0) is NaN.
REM(x,x), for x~=0, is 0.
REM(x,y), for x~=y and y~=0, has the same sign as x.
Note: MOD(x,y), for x~=y and y~=0, has the same sign as y.


【在 K*******1 的大作中提到】
: if rem(n,2) == 1
: n=3*n+1;
: else
: 。。。
: rem(n,2) == 1是啥意思?
: Tks

K*******1
发帖数: 85
4
Tks so much
1 (共1页)
进入Quant版参与讨论
相关主题
matlab r2007a for mac (intel cpu) (转载)【Brain Teaser】one interview question
Can someone recommend a good Matlab book for quant?求电子书:Financial Trading Systems Design And Development With C++
请问:case study会是什么形式?[合集] 有人做quant用Matlab的么?
If I am only familiar with matlab and VBA,[合集] MATLAB 中Large-Scale Medium-Scale 有啥区别
请教大牛们一个薪水问题[合集] 请问做quant的有用matlab的么?
the brainteaser...[合集] Monte Carlo 如何把Matlab的控制结构转换成Excel程序?
问一道题目 包子酬谢![合集] 如何用matlab求解CDaR这个LP?
问一道题。[合集] ECE Fresh PhD 申请MFE请教
相关话题的讨论汇总
话题: rem话题: integer话题: tks话题: remainder话题: same