# Muhamed Sewidan

Hi, my name is Muhamed a physicist who is interested in puzzles whether they are embedded in the nature around us or in coding.

**Statistics**

RANK**167.465**

of 273.375

REPUTATION**0**

CONTRIBUTIONS

**20** Questions

**0** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**0**

RANK

of 18.456

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

My code takes so long to execute

My code works fine until it gets to this block. This loop takes too long to execute. Is there any way to solve this problem? if...

ongeveer 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How to fit two separate variables with smoothing spline, Gauusian or polynomial?

I have these two variables and want to fit and plot them. lam = [0.30,0.31,0.32,0.33,0.34,0.35,0.36,0.38,0.39,0.41,0.43,0.45,0....

ongeveer 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How to make the frequency vector to analyze a complex signal?

I have this example and I'm puzzled with the frequency vector (hz) if I change any parameter in it, the result won't be the freq...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

In "Analyzing Cyclical Data with FFT" example, how the frequency was calculated?

and how it can be calculated for other examples? is there a general equation or formula to calculate it?

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Should I use the absolute value of fast Fourier transform or the conjugate in signal analysis?

I found this example in MATLAB https://www.mathworks.com/help/matlab/math/fft-for-spectral-analysis.html and I saw that they use...

ongeveer 2 jaar ago | 2 answers | 0

### 2

answersQuestion

How to draw multiple surface plots on the same mesh?

I use this code to draw a Gaussian normal distribution. I want to plot several distributions at equal distance from the original...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How to calculate the diameter of 3D Gaussian normal distribution?

I want to calculate the diameter of this gaussian distribution. Is there any simple mean to do so?

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Any code for Gaussian beams diffraction through a rectangle aperture?

Suppose I have a rectangle aperture and I want to make Gaussian beams to sufficiently sample this aperture. Is there any code to...

meer dan 2 jaar ago | 0 answers | 0

### 0

answersQuestion

Can I simulate this example (diffraction pattern) on my CPU not my GPU?

I tried to apply this example but it doesn't work, because I don't have an external Nividea GPU, I have an intel internal GPU. ...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How to simulate an irradiance of beamlets recombination after emerging from a square aperture, in MATLAB?

I want to simulate (in 3D) the irradiance of several beamlets recombined together after emerging from a square aperture, knowing...

meer dan 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How to find the exact index(row, col) of a maximum value in a matrix?

I want to find the maximum value in an image, I tried to find its index and I found it after converting the image matrix into a ...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Cody gives me error for my solution whereas MATLAB run it efficiently

I tried to solve some problem in Cody. I wrote that function and run it in MATLAB and it worked perfectly. While it gives me err...

meer dan 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How can I use some downloaded function?

I downloaded some functions files with a script file from Mathworks website. Every time I run this script, it tells me that thes...

meer dan 2 jaar ago | 2 answers | 0

### 2

answersQuestion

Why do we transfer the image into double?

I saw a lot of image processing examples and before conducting any analysis the image is transfered into double. Is it essential...

bijna 3 jaar ago | 2 answers | 0

### 2

answersQuestion

Why sometimes we place an empty brackets inside function inputs?

I don't know the purpose or the mean of these empty square brakets inside many functions, for instance: min( a, [ ],2) imsho...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How can I update the x axis limit inside a loop?

% parameters omav = 5*1000*2*pi; % omega average, center sigma = [0,0.5,1,2,5].*1000*2*pi; % std deviation. A.K.A width t...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to make a loop to do a specific operation for multiple variables?

lambda = num(:,1); RefInd1 = num(:,2); RefInd2 = num(:,3); RefInd3 = num(:,4); % For the draw ratio DR=1.00 ny1 = int...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Why polar plot is not circular like this?

I tried to plot data by polarplot function and it keeps looking like this.. However, when I plot these data in some other progr...

ongeveer 3 jaar ago | 0 answers | 0

### 0

answersQuestion

How can I automate Matlab to measure specific regions in an image?

I want to make Matlab to measure these distances (red lines) automatically for every image I insert it. These measured distances...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

What does cpselect do? and what are the potential applications and uses of it? (Any examples please)

I came across the function (cpselect) and i didn't exactly what the use of it. I select some points in the two images. And I wan...

ongeveer 3 jaar ago | 0 answers | 0