フィルターのクリア

How to create body centered cubic structure?

9 ビュー (過去 30 日間)
Sara
Sara 2020 年 10 月 12 日
コメント済み: Sara 2020 年 10 月 18 日
Hi,
I want to create bcc structure. However, I was able to create sample cubic strcture but I could not do for bcc. Any suggestions
x =[1 0 0];
y =[0 1 0];
z =[0 0 1];
[X,Y,Z]=meshgrid(x,y,z);
figure, scatter3(X(:),Y(:),Z(:));

採用された回答

Athul Prakash
Athul Prakash 2020 年 10 月 16 日
You could create 2 different X/Y/Z combinations, each for corners and centre of the lattice.
Then plotting them one after the other using 'hold on' should work.
Hint: Centres are the same as corners but shifted half-step in all 3 directions.
  1 件のコメント
Sara
Sara 2020 年 10 月 18 日
Thank you for your answer,
I have doen what you suggest and I got what I want.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCrystals についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by