Week 3 - Speed Programming in Matlab Octave for non computer science engineers
Objective: % matlab program to calculate the stochiometric coefficient cumbution clear all close all clc % for first 20 carbon atoms in hydrocarbon range ar=zeros(1,20); x=linspace(1,20,20); for i=1:length(x) alkane(i)=3/2*i+1/2; alkene(i)=3/2*i; alkyne(i)=3/2*i-1/2; end % ploting grid on hold on plot(x,alkane) plot(x,alkene) plot(x,alkyne)…