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