Community Profile # Mazin Mustafa

Last seen: 3 days ago Active since 2016
Programming Languages:
Python, C, MATLAB, Fortran
Spoken Languages:
English

#### Statistics

All
• • • • • • • • • #### Content Feed

View by

Submitted

Gray Code
Basic function that generates Gray code for arbitrary base and number of digits

3 months ago | 2 downloads | Submitted

Gaussian Elimination with Partial Pivoting
Finds the solution to the linear system Ax=b using Gaussian Elimination with Partial Pivoting (GEPP) algorithm

4 months ago | 17 downloads | Submitted

Performs Gauss-Legendre numerical integral over a standard triangle

9 months ago | 6 downloads | Submitted

Method of moments for 2D scattering from PEC cylinder (CFIE)
Solves 2D scattering problem using MoM with Pieacewise Linear basis and testing functions (Galerkin's method) and calculates RCS...

1 year ago | 11 downloads | Submitted

Method of Moments for 2D PEC Circular Cylinder (Point Match)
Solves 2D scattering problem for a circular cylinder using MoM using Point Match technique and calculates RCS.

1 year ago | 6 downloads | Submitted

Half-Space Sommerfeld Integrator Electric Fields
This program uses the Dyadic Green's Functions to compute the exact fields due to Electric or Magnetic dipole the top medium.

2 years ago | 4 downloads | Submitted

2D Dipole Phased Array Scanning Impedance- Method of Moments
Evaluates the input impedance of rectangular array of vertical dipoles phased array at various scanning angle using method of ...

2 years ago | 3 downloads | Submitted

Electric/Magnetic Dipole Radiation in Planar Layered Media
Computes the near-field electric fields due to electric or magnetic dipole in planar multilayered media of any number of layers....

2 years ago | 4 downloads | Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

2 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

Solved

Return area of square
Side of square=input=a Area=output=b

2 years ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved

Given a and b, return the sum a+b in c.

2 years ago

Submitted

Method of moments for vertical dipole antenna
An example of MoM solution for vertical dipole antenna fed at the center via delta gap excitation using Galerkin's method.

2 years ago | 6 downloads | Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

2 years ago

Solved

Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

2 years ago

Submitted

Romberg
Performs Romberg integration

3 years ago | 1 download | Submitted

Root_Finding_Cauchy_Integration_Method
A root finding algorithm for complex functions based on Delves & Lyness method using Cauchy Integration Method.

4 years ago | 1 download | Submitted

Hankel_Transform
Computes Hankel Transform of order v

4 years ago | 5 downloads | Submitted

Polar_dB
Plots polar data in dB scale. Useful for radiation pattern plots.

4 years ago | 6 downloads | Question

What is the name of the mathematical technique used by the function 'roots'?
My question is simple, what is the name of the mathematical technique used by the function 'roots'?

5 years ago | 1 answer | 0

### 1

Question

Passing function with parameters to another function
Hi, I am trying to create a function that accepts another function with its own parameters e.g. Func1(@(x)Func2(x,para1,para...

5 years ago | 1 answer | 0

### 1

Question

How to improve the speed of Matlab numerical integral?
I am interested in computing numerical integrals in Matlab. My program evaluates multiple integrals using a "for loop". I need b...

5 years ago | 2 answers | 0

### 2

Question

Exporting PDF pcolor white grid
I am having this problem when trying to export pdf format for my pcolor or contour plots. Does anyone know the solution to this?...

5 years ago | 1 answer | 0