photo

Muhamed Sewidan


Last seen: fast 3 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Nachricht

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

Statistik

All
  • MATLAB Central Treasure Hunt Finisher
  • Promoter
  • Community Group Solver
  • Introduction to MATLAB Master
  • Thankful Level 3
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten