Question

Eacih atomic mumber (indicating the number of protons in its ow how a structure can be created to represent these three piece i need the solution for matlab

creat arry in matlab
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Below is the matlab code:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

close all,
clear all,
clc,

Element = struct('Name',{},'Symbol',{},'At_No',{},'ProtonNo',{});

Element(1).Name = 'Carbon';
Element(1).Symbol = 'C';
Element(1).At_No = 12;
Element(1).ProtonNo = 12';

Element(2).Name = 'Chlorine';
Element(2).Symbol = 'Cl';
Element(2).At_No = 17;
Element(2).ProtonNo = 17';

Element(1)
Element(2)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

matlab Output

ans =

Name: 'Carbon'
Symbol: 'C'
At_No: 12
ProtonNo: 12


ans =

Name: 'Chlorine'
Symbol: 'Cl'
At_No: 17
ProtonNo: 17

>>

Add a comment
Know the answer?
Add Answer to:
i need the solution for matlab creat arry in matlab Eacih atomic mumber (indicating the number of protons in its ow how a structure can be created to represent these three pieces of Chemical el...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT