Professional Interests: physics ,interatomic displacements

Question

problem with numerical integration

I have problem with integration in the folowing code at the last line %%%%%%%%%%%%%%%%%%%%%%%%%% % Phonon dispersion relation ...

2 months ago | 1 answer | 0

Question

import with Excel problem

This code can not import an Exel file function TransferMatrix %------------BEGIN USER INPUT PARAMETERS SPECITIFCATION------...

4 months ago | 1 answer | 0

Question

delete zero elements from vector

Hi I have k (1,600) size, it contain zeros at 451-600 elements. I want to delete these zero elements. At the end of this ve...

5 months ago | 2 answers | 0

Question

extending matrix with numbers (not zero)

In the folowing code; I have error Index in position 1 exceeds array bounds (must not exceed 4). Error in Untitled1111111 (li...

5 months ago | 0 answers | 0

Question

is for loop eating my data :)

In the folowing code, the plot is empty .I think that my data is overlapping. why i have an empty plot , and how can i fix i...

5 months ago | 1 answer | 0

Question

how to fix this code in calling function

%% Call the transfer matrix R, T, A calculator function and build spectra %%%may be need to % Convert angle to radians [n1]=xl...

5 months ago | 1 answer | 0

Question

how can i put the jreftran function in loop

Hi to all Mathworks If I want to change many variables in (jreftran function) like [r,t,R,T,A]=rerlect_rt(l,[NaN,500,100,NaN]...

5 months ago | 0 answers | 0

Question

how can n I export file with Excle format, with fprintf

how can I export file with Excle format, with fprintf i have the flowing lines : fid:fopen ('elements. txt', 'w') fprintf...

5 months ago | 1 answer | 0

Question

finite element method with matrix error

I am trying to calculate energy using the folowing code , the matrices elements2s, nodes2s was the results of another script. c...

6 months ago | 1 answer | 0

Answered

how do i generate sound using MATLAB?

Image Analyst can I use your demo?? If you agree , I want to ask you to explain it to me please best regards Zina Al Shadid...

how do i generate sound using MATLAB?

Image Analyst can I use your demo?? If you agree , I want to ask you to explain it to me please best regards Zina Al Shadid...

2 years ago | 0

Answered

How to make the balls in this program organize and settle at the top of the box instead of leaving it

The two lines that you added makes The balls lined up at the top of the figure in a row Now if we want the balls to...

How to make the balls in this program organize and settle at the top of the box instead of leaving it

The two lines that you added makes The balls lined up at the top of the figure in a row Now if we want the balls to...

3 years ago | 0

Question

In the following sample. The result of the graphic is one point What is wrong here please

energy = energy + deltaE; for A = 1:nPart th...

3 years ago | 2 answers | 0

Answered

How to make the balls in this program organize and settle at the top of the box instead of leaving it

Hi KSSv Let me ask you please .what if we want to line the balls in more than one row

How to make the balls in this program organize and settle at the top of the box instead of leaving it

Hi KSSv Let me ask you please .what if we want to line the balls in more than one row

3 years ago | 0

Question

How to make the balls in this program organize and settle at the top of the box instead of leaving it

function y = atoms(x) clc n = 25; % no. of atoms dt = 0.1; % time ma=1; mb=1; x0=[0 0 0 0]; l=200...

3 years ago | 3 answers | 0

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

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question

I wonder if i can plot 200 point taken from an experimental data using data statement (without using input statement)

help

9 years ago | 0 answers | 0