# Rabih Sokhen

**Statistics**

**MATLAB Answers**

**31** Questions

**0** Answers

RANK**232.634**

of 262.544

REPUTATION**0**

CONTRIBUTIONS

**31** Questions

**0** Answers

ANSWER ACCEPTANCE **
64.52%
**

VOTES RECEIVED**0**

RANK

of 17.976

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 113.569

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 slice a 3d array with slider?

Code: clear all clc y=randn(10,10,10); h = uicontrol('style','slider','Min',0,'Max',100,'Value',0.01, 'callback',@(src,evt)d...

ongeveer 2 maanden ago | 1 answer | 0

### 1

answerQuestion

how to plot only non zero value of a slicing of a 3d matrix?

Hello everyone, I am trying to slice a 3d array over the x direction, however, I would like to plot only nonzero values of ev...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

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

5 maanden 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...

5 maanden 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 ...

6 maanden 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...

6 maanden 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...

6 maanden 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) ...

6 maanden 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 ...

6 maanden 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...

6 maanden 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...

6 maanden 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'); ...

7 maanden 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...

7 maanden 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 ?

7 maanden 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 ...

7 maanden 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) ...

7 maanden 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 : ...

8 maanden 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...

8 maanden 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);...

9 maanden 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...

9 maanden 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...

9 maanden 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...

10 maanden 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...

10 maanden 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,...

10 maanden 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...

10 maanden 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar ago | 1 answer | 0