photo

Ahmed A. Selman


University of Baghdad

Last seen: 6 mois il y a Actif depuis 2013

Followers: 0   Following: 0

Message

Ph.D. in theoretical nuclear physics, author of four books and assistant professor at the College of Science-University of Baghdad since 2008. IAU Member since 2021. Recently working on nuclear astrophysics of stars. Interested with image processing applications in astronomy. I begun using Matab since the year 2000 (I think it was ver.5.0), and still there is much to learn about. Google Scholar: https://scholar.google.com/citations?user=TwoAY4wAAAAJ IAU: https://www.iau.org/administration/membership/individual/20684/

Programming Languages:
MATLAB, Fortran
Spoken Languages:
English, Arabic
Pronouns:
He/him
Professional Interests:
Mathematics, Physics, Gravitation, Cosmology & Astrophysics, Particle & Nuclear Physics

Statistiques

All
MATLAB Answers

1 Question
72 Réponses

File Exchange

7 Fichiers

Cody

0 Problèmes
11 Solutions

RANG
568
of 300 753

RÉPUTATION
140

CONTRIBUTIONS
1 Question
72 Réponses

ACCEPTATION DE VOS RÉPONSES
0.0%

VOTES REÇUS
16

RANG
6 051 of 21 075

RÉPUTATION
197

CLASSEMENT MOYEN
5.00

CONTRIBUTIONS
7 Fichiers

TÉLÉCHARGEMENTS
8

ALL TIME TÉLÉCHARGEMENTS
1821

RANG
37 051
of 170 858

CONTRIBUTIONS
0 Problèmes
11 Solutions

SCORE
120

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • GitHub Submissions Level 1
  • 5-Star Galaxy Level 2
  • First Review
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 4
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Optimize loop to reduce run time
Inside the loops of ii and jj, try to move the lines that do not depend on ii out of that loop. It might help to improve some r...

plus d'un an il y a | 0

A soumis


ENEL (EXFOR Nuclear Extraction Library)
The code reads nuclear cross section (vs energy) found in C4 datafile in ENDF format.

plus de 3 ans il y a | 2 téléchargements |

0.0 / 5
Thumbnail

A soumis


dec2any(x,n)
Decimal (base 10) number to any (base 2 to 10) converion function.

environ 11 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


dec2senary(num)
Decimal (base 10) number to senary (base 6) converion function.

environ 11 ans il y a | 1 téléchargement |

0.0 / 5

Réponse apportée
Help naming text file according to user input
Just add the extension you like to the variable (fileName), as prompt = 'Please enter the file name: '; fileName = input(...

plus de 12 ans il y a | 4

| A accepté

Réponse apportée
how to find the second order partial derivative of an image?
See older and similar question here: <http://www.mathworks.com/matlabcentral/answers/67893>

plus de 12 ans il y a | 0

Réponse apportée
Reshape array for 256 by 256 matrix showing 16 by 256
Dear sudipta, I have downloaded your data file, and went like a=load('1372387722318.txt'); y=reshape (a,256,256); ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Save 512x512 matrix to text file
This code works perfectly. To check it add the following at the very end of the above code: fid = fopen('Mymatrix.txt','r'...

plus de 12 ans il y a | 0

Réponse apportée
solve 2 equation of 2 unknown
Use the code instead: clc clear syms theta3 r1 %sind(theta3) % NOT NEEDED r2=3; r3=3.927; r4=0.335; ...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
extracting submatrices from cell
Try the same example with: X={1, 'a'; 'b', 3.14}; K1=X(2,:) [K21 K22]=X{2,:} Then use whos to...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
How to identify boundaries of shapes in an image using the change in color
There are few files in the file-exchange <http://www.mathworks.com/matlabcentral/fileexchange/> so do some search there, you mig...

plus de 12 ans il y a | 0

Réponse apportée
error message using polynom
A polynomial P(x) is said to be (badly conditioned) when a small variances of x leads to large errors of P, causing unstable err...

plus de 12 ans il y a | 0

Réponse apportée
Creating a matrix with matrices on the sub and super diagonals
Use the command (diag) for creating a (main) diagonal matrix from a vector A, and the command (spdiags) to create sub- and super...

plus de 12 ans il y a | 0

Réponse apportée
Picking out a value from a Vector in a Loop iteration
Within your same code: ... plot(Y(:,1),Y(:,2),'o'); z=zeros(1,length(X)); % Add this for i = 1:length(X) f...

plus de 12 ans il y a | 0

Réponse apportée
More help with probability...
Just pay attention to how you use function call inside a program. Either you have two files as stated above, or use one main (ca...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
How to plot with a logarithmic scale?
semilogx(x,y)

plus de 12 ans il y a | 2

| A accepté

Réponse apportée
how to solve loops conditions ??
#1) Using for loops only: clear k=0; for i=1:6 for j=1:5 k=k+1; A(i,j)=k; end end ...

plus de 12 ans il y a | 0

Réponse apportée
Symbolic expressions: abs(x^(1/3)) =?= abs(x)^(1/3)
Some times we get confused between mathematics and programming, it is an often thing. Yet, mathematics means logic, programs try...

plus de 12 ans il y a | 0

A soumis


Blancmange-Takagi Function
Used to plot the Blancmange-Takagi function of order (w) and range (x).

plus de 12 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail

Réponse apportée
how to write a .dat file in matlab?
The obvious method is to construct a loop to read filenames, inside it, open and read, then accumulate the data content in some ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Reading many files in one loop
Download a function file called folderFiles.m. <http://www.mathworks.com/matlabcentral/fileexchange/40877-folderfiles-m> ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
How to read a text file line by line?
Try selecting one dimension a time for each line, e.g., ... time=fscanf(fID,'%g',[1 1:2:inf]); acce=fscanf(fID,'%g',[...

plus de 12 ans il y a | 0

Réponse apportée
Obtaning a matrix with the right indexes
Try this out to see if it solves the issue: clear clc N=20; %for example H=sym(zeros(N,4)); B=1:N; ...

plus de 12 ans il y a | 0

Réponse apportée
How to create a nested for loop to create a mesh plot
I'm not sure what are your conditions (in the if statements), but you used (y1) as a matrix index which cannot be made unless (y...

plus de 12 ans il y a | 0

Réponse apportée
Hi all, could you please help me to solve this equation either numerically of symbolically.
If all variables other than (y) are known, then let's write some notes here: 1) Try to first define the variables, namely: kw...

plus de 12 ans il y a | 0

Réponse apportée
Issue with writing multiple variable to excel sheet
It is not practical to write a single line in an excel file, for a large amount of data or inside a long-time running loop. If y...

plus de 12 ans il y a | 1

A soumis


LVPermute
A simple (Line Vector Permutation) function.

plus de 12 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

Réponse apportée
while loop question number 2
In such a case, using a while loop cannot do the job, but an if statement can. So, I think this is what are you looking for (con...

plus de 12 ans il y a | 0

Réponse apportée
How to plot a complicated function
It is the same code you wrote, only add loops over c and tau, and use the function (ezplot) to plot a function handle. And DO NO...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
how to code probability in general??
First what is magic(2)? I thought the smallest magic matrix comes (3-by-3) since Magic (2) doesn't satisfy the condition (sum ea...

plus de 12 ans il y a | 0

| A accepté

Charger plus