![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/14528702_1547363121489_DEF.jpg)
Rabih Sokhen
Followers: 0 Following: 0
Feeds
提问
How can I incorporate both the x-axis and a reversed y-axis without altering the plot but only adjusting the orientation of the axes?
Hello everyone, I hope you're all doing well. I attempted to run the provided code and noticed that associating an x and y axis...
7 months 前 | 2 个回答 | 0
2
个回答提问
How can I import workspace arguments into a function without saving them?
Hey guys, I would like to create a function that directly uses arguments from the workspace without the need to save and reload...
1 year 前 | 1 个回答 | 0
1
个回答提问
how to plot using the slice function the last row and column of a 3 matrix?
Hello, guys I am trying to do the slicing of a 3d matrix, however I notice that the slice function during the plot do not show ...
1 year 前 | 1 个回答 | 0
1
个回答提问
how to fix half saved image problem in pdf form
Hello guys. I have a problem when I try to save matlab image as a pdf, only a part of the image is saved in the pdf format as ...
1 year 前 | 1 个回答 | 0
1
个回答提问
how to pass from x y z plane to toroidal coordinate?
Hey guys, I am trying to make the transition from x, y, z coordinate to toroidal coordinate. I tried to write the following co...
2 years 前 | 1 个回答 | 0
1
个回答提问
how to fill a specific region with color if that's region contain my target point?
hy guys. I would like to fill a specific region automatically with the color red in my plot, if that's region contains my targ...
2 years 前 | 1 个回答 | 0
1
个回答提问
why does my colorbar shift my second y axis?
hy guys i am trying to add a colorbar to my second y axis in the folowinf code, however the colorbar is shifting the axis. an...
2 years 前 | 1 个回答 | 0
1
个回答提问
how to rotate a 3d matrix ?
hy guys i would like to rotate a 3*3 array suppose i have A=rand(5,4,3) i would like to rotate it in a way were A now is (4,...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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) ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 3 个回答 | 0
3
个回答提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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'); ...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
is there any function similare to pixelinfo but for pcolor ?
is there any function similare to pixelinfo but for pcolor ?
2 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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) ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 : ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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);...
3 years 前 | 3 个回答 | 0
3
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 2 个回答 | 0