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

4 dagen ago | 1 answer | 0

Question

import with Excel problem

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

ongeveer 2 maanden 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...

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

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

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

4 maanden 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]...

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

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

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

bijna 2 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar 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

bijna 3 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar 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:...

bijna 3 jaar ago

Question

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

help

bijna 9 jaar ago | 0 answers | 0