Community Profile

photo

Yuechuan Chen


Last seen: 대략 1년 전 2019년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Integer check with a symbolic variable
So I have: s=sym('10517669'); p=nextprime(8*(S^4)); if float((p-1)/2)==(p-1)/2 ... end I know float only works for si...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Symbolic computation ERROR?
p=sym('5744092954902128823202697'); randi([2,p-2]) So I've defined p and tried to compute randi([2,p-2]), Matlab returns: 'Siz...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Powermod involving REALLY large integers
So basically I'm trying to use powermod with very big numbers. I have s=14736874769152501643685660145420817562210437816775431428...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Highest power of 2 that divides n.
Never mind I messed up. n=sym('94315998522576010519588224930693232398146802027362761139521'); a=7; i=1;%this is a counter tha...

4년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
Highest power of 2 that divides n.
n=sym('94315998522576010519588224930693232398146802027362761139521'); a=7; i=1; while mod(n-1,2^i)==0 i=i+1; end i r=...

4년 초과 전 | 0

질문


Computation's with large numbers.
So, I'm trying to divide n-1( n=94315998522576010519588224930693232398146802027362761139521) by 2^143, I stored n has a symbolic...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to draw a nicer graph
x=-2*pi:pi/100:2*pi; y=sin(3*x); z=cos(3*x); plot(x,y,'k',x,z,'b') plot(x,y,'--',x,z,'-') Hi, I've plotted the graph of c...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to use fzero in a loop to obtain the first 3 positve solutions for cos3x=sin3x?
As it says in the title, I can't figure a way to do it. I've tried for loops but it didn't quite work. Thanks!

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to find the first n postive roots of a function?
How to find the first n positive roots of a function using fzero? e.g first 3 postive roots of cos(2x)-sin(x)=0 Thanks!

4년 초과 전 | 답변 수: 1 | 0

1

답변