photo

Andrew Williams


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Error: Unable to perform assignment because the left and right sides have a different number of elements. (Line 16)
h=0.1; y=1; t=0; Tend=4; i=1; while(t(i)<Tend) t(i+1)=t(i)+h; slope=(5*exp(-2*t)-...

6 years ago | 1 answer | 0

1

answer

Question


How can I fix this error?
"Unable to perform assignment because the left and right sides have a different number of elements." I'm trying to write a co...

6 years ago | 1 answer | 0

1

answer

Question


How can I make a function restart if a string input by a user is not terminated properly instead of it breaking the code with an error?
I am new to this software and I understand that this is an elementary question. An example of what I'm trying to figure out is t...

7 years ago | 2 answers | 0

2

answers