photo

fatema hamodi


Last seen: 7 månader ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


finding the frequency of signal without using FFT
hi all I have sine signal with noise where the number of points of noise per oscillation should be the same in my code five p...

mer än 5 år ago | 0 answers | 0

0

answers

Question


sine wave with noise
Hi all I have sine signal with noise where the number of points of noise per oscillation should be the same say five points ...

mer än 5 år ago | 0 answers | 0

0

answers

Question


how to flip a general square matrix ( it could have even or odd number of rows/cols ) from it's center in matlab ?
hi all I have a general matrix , I want to flip the last half of it starting from it's center in matlab To be clear ,I attach ...

nästan 6 år ago | 2 answers | 0

2

answers

Question


matrix of circulating vectors without loop
hi all , I want to built a matrix of circulating vectors without using loops for example input: 1 2 3 ...

mer än 6 år ago | 3 answers | 0

3

answers

Question


sorting a matrix to circularly shifted matrix in efficient way
hi all I want to sort a matrix to circularly shifted matrix for example for input input=[2,0,0;1,1,0;0,2,0;1,0,1;...

mer än 6 år ago | 2 answers | 0

2

answers

Question


hi everyone , how can I built a matrix of circularly shifted array in efficient way
I have a given initial array of length M , I want to built a matrix of MxM , by circularly shifting this array, example for a...

nästan 7 år ago | 2 answers | 0

2

answers

Question


hi , I have system of coupled 1d differential equations , I write a code to solve them , the code run but it gives wrong results, can anyone told me what the problem in the code , this will help me a lot , thanks in advance
a system of N coupled differential equations dp/dt=-i*cos⁡(c*t)*mat*p-i*p*w p is vector p=[p1;p2;p3.....;pN]; mat is mat...

nästan 7 år ago | 0 answers | 0

0

answers

Question


hi everyone,I write a code for solving N differential first order coupled equations ,I want to know if there is better way to do it , or more efficient way , thanks
the equations: (dC_k)/dt= -i∑C_n (t) *R_nk *(e^(-i(ω_n-ω_k-ω)t)+e^(-i(ω_n-ω_k+ω)t)) %the sum is over n K=1:N ...

nästan 7 år ago | 1 answer | 0

1

answer

Question


hi, can anyone tell me what is the error of ode45(error per step) ,
I solve differential equations using ode45, the solutions is weird and I want to know wether the problem is numerical one or in ...

ungefär 7 år ago | 1 answer | 0

1

answer

Question


hi everyone, I have been stuck alot of times on that so please help me , I need to solve coupled differential equation with constraint,
d(c_g)/dt=(i(dc_g)/dt=(i/ℏ)*(E_g+A*cos(wt) )*c_g+B*cos(wt)*c_e d(c_e)/dt=(i/ℏ)*(E_e+D*cos(wt) )*c_e+C*cos(wt)*c_g Wit...

ungefär 7 år ago | 0 answers | 0

0

answers

Question


hi :) I need help , I have an array of float angles , I want to find the indexes of angles in the range -pi/M<theta<=pi/M thanks
I try the following code: (The problem is that this gives me also theta = -pi/M ) tolerance = 10^-4 M = 4; thetain...

mer än 7 år ago | 1 answer | 0

1

answer

Question


hii :) can anyone please tell me how can I scale the values of 4 matrices to RGB with the same colorbar scaling . two of the matrices have values range[0-1] the other two matrices values range [0-2.3]
the problem that I got scaling range between [0-1] for all of them but when I make scaling for each matrix alone I g...

mer än 7 år ago | 0 answers | 0

0

answers

Question


hii, can anyone please tell me the problem in the code ?why find doesn't give me the index of the number in theta array thanks
M=3;%sites number N=2;%particles number U=-1; num_of_states= nchoosek(M+N-1,N); fock_mat=generate_fock_states(init...

mer än 7 år ago | 1 answer | 0

1

answer