Community Profile

photo

kainat rasheed


Last seen: 2 months ago Active since 2022

Statistics

  • First Answer
  • Thankful Level 1

View badges

Content Feed

View by

Answered
How to write code for diagonal matrix with specified input ?
v = [1 2 3 4 5]; use this matrix to use specific numbers like this after that write it as D = diag(v) v = [1 2 3 4 5]; D = ...

3 months ago | 0

Question


i have error in this code while using ode45
%constants A=2.6e-3; B=90; C=0.025; D=5.0E-3; E=0.3; F=0.0041; G=0.27; H=83.7; %Parameter Changes A1=2.6e-2; ...

3 months ago | 1 answer | 0

1

answer