# Rabih Sokhen

**Statistics**

**MATLAB Answers**

**29** Questions

**0** Answers

RANK**188,239**

of 257,892

REPUTATION**0**

CONTRIBUTIONS

**29** Questions

**0** Answers

ANSWER ACCEPTANCE **
62.07%
**

VOTES RECEIVED**0**

RANK

of 17,768

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110,112

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

how to factor a analytic expression ?

clear all clc syms x A=x.^2+x i would like to factor A in a way that's A =x(x+1) thank you

2 months ago | 1 answer | 0

### 1

answerQuestion

why my fft does not match my convolution ?

hy guys, i am trying to verify that g(w)=fft( h_t . x_t) = conv( h_f,x_f) h_t is my impulse response in the time domain x_t is...

3 months ago | 1 answer | 0

### 1

answerQuestion

how to scale fft?

hy guys. i have a question concerning the scaling in fft . i have seen alot of code on this forum, but some of the code scale ...

3 months ago | 1 answer | 0

### 1

answerQuestion

how to fix broad band in fft?

Hy guys. I'm trying to obtain the fft of a array. however the result are coming out to be braod band, i expected to get bands...

3 months ago | 0 answers | 0

### 0

answersQuestion

How to shift from convolution product to the scalar product with arrays?

hy guys, hope you are doing well I know that the product of the 2 signals in the frequency domain is equal to the Fourier trans...

3 months ago | 0 answers | 0

### 0

answersQuestion

how to deconvolute a array ?

hy guys i would like to deconvolute a matrix code: clear all clc a=rand(10,3); b=rand10,3); %b=conv2(a,c) ...

3 months ago | 1 answer | 0

### 1

answerQuestion

why my deconvolution want fit my analytique form?

hy guys, i am trying to deconvolute a signal to refind my 2 initial signals, however when a = sinc(f) my deconvolution want ...

4 months ago | 1 answer | 0

### 1

answerQuestion

how to deconvolute a matrix?

hy guys, i would like to deconvolute a matrix but i didn't find a 2d deconvolution function , any idea how to do that witho...

4 months ago | 3 answers | 0

### 3

answersQuestion

why fft (exp(-t)) don't fit my analytique expression?

Hey guys, I am trying to find the fft of exp (-t). Also, I know that's the fft of (exp (-t)) is --> 1/(1+i*2*pi *f) I tried...

4 months ago | 2 answers | 0

### 2

answersQuestion

how can i use my function directly on a array without having x and y?

the code is: function img(x,y,a) imagesc(x,y,a); set(gca,'YDir','normal'); ...

4 months ago | 2 answers | 0

### 2

answersQuestion

How to create a custom grayscale colormap between white and black?

How to create a custom grayscale colormap between white and black? In a way the maximum value of an array is back and the minimu...

4 months ago | 1 answer | 0

### 1

answerQuestion

is there any function similare to pixelinfo but for pcolor ?

is there any function similare to pixelinfo but for pcolor ?

4 months ago | 0 answers | 0

### 0

answersQuestion

how to add grid to imagesc?

clear all clc a=rand(20,50) x=linspace(-1,1,20) y=linspace(-1,1,50) imagesc(x,x,a) I would like to add grid only at the ...

4 months ago | 1 answer | 0

### 1

answerQuestion

how to pcolor all value of a matrix ?

clear all clc a=[100 0 50; 30 5 100; 80 50 0] b=[a ;a(end,:)] ; b=[b b(:,end)] subplot(1,2,1) pcolor(a) subplot(1,2,2) ...

4 months ago | 1 answer | 0

### 1

answerQuestion

how to get the argument and the modulus of a analytic complex function?

clear all clc syms a b c z=a*exp(i*b*c) arg=angle(z) mod=abs(z) as a result in the command window i am getting : ...

5 months ago | 1 answer | 0

### 1

answerQuestion

How to find the modulus, conjugate and the derivation of a complex number in an analytic form?

clear all clc syms a b c d z=a*b*exp(i*c) i would like to find the modulus square of z by writing abs(z).^2 , the conjugat...

6 months ago | 0 answers | 0

### 0

answersQuestion

how to save variable as txt in a specified location with variable value appearing in the file name

clear all clc a=1; % amplitude du faisceau gaussien x=linspace(-50,50,100); dx=50/2.355; % widthn f=a*exp(-0.5*(x./dx).^2);...

6 months ago | 3 answers | 0

### 3

answersQuestion

how to read data file.trc with a for loop?

hello guys i have the following files: test1.trc , test2.trc , ..... test20.trc " all the followings files are"ReadLeCroyBin...

6 months ago | 1 answer | 0

### 1

answerQuestion

derive with fft and ifft

clear all clc z=50; x=linspace(0,2*pi,z); a=cos(x); % derive while using ifft k=1./x; tf_a=1i.*k.*fft(a); da=ifft(tf...

7 months ago | 0 answers | 0

### 0

answersQuestion

how to find the nearest value?

hello guys suppose i have a vector[s] A=[ 1 2 3 4 5 6] B=[6.1 5.1 4.1 3.1 2.1 1.1] and position_A=[10 20 30 40...

7 months ago | 2 answers | 0

### 2

answersQuestion

how to solve error using integral

clear all clc qu=linspace(-2*pi,2*pi,126); x=linspace(-2,2,126); y=2*x; psi=(-x./sqrt(qu/2)+sqrt(y)/sqrt(exp(-2*asinh(sin(q...

7 months ago | 2 answers | 0

### 2

answersQuestion

how do i integrate one vector by using "intergral function" and not trapz ?

code: i have a complexe double vector f (1x25) and i want to integrate f over -pi and pi, i used it: phase=1i*integral(f,-pi,...

7 months ago | 1 answer | 0

### 1

answerQuestion

why my integral is not a numerical value?

code: z=100; n=100; m=70; qu= linspace(-2*pi,2*pi,m); theta=linspace(-2*pi,2*pi,n); qq=2*pi+pi*(-1.8); target_qq=ceil(z...

7 months ago | 1 answer | 0

### 1

answerQuestion

how to zoom on a figure with multiple axes

hello guys i am trying to creat a plot with 4 axes, but wen i try to zoom on the following plot, only 2 axes are modifed " the...

1 year ago | 1 answer | 0

### 1

answerQuestion

how to read and plot a .trc file?

hello guys i have a trc file named 'c01-00.trc' but i don't know how to read it and plot it in matlab i tried using fileread...

1 year ago | 1 answer | 0

### 1

answerQuestion

Unrecognized function or variable 'writevideo'.

hello guys i'm getting this type of error: Unrecognized function or variable 'writevideo' in my following code : close all a...

1 year ago | 1 answer | 0

### 1

answerQuestion

any idea where can i learn the basics of gca gcf set and get

i am new using this type of code: hAx(1)=gca; hAx(2)=axes('Position',hAx(1).Position,'XAxisLocation','top','xlim',[x2(1) x2(en...

1 year ago | 1 answer | 0

### 1

answerQuestion

how to label second x and y axes

hello guys in the following code, i don't know how to label the x axis on the top and the y axis that's on the right anybody ...

1 year ago | 1 answer | 0

### 1

answerQuestion

how to shift a pcolor figure ?

hello ! is their a way to shift a pcolor figure to the center?

1 year ago | 1 answer | 0