photo

Sam Sims


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

3 Questions
0 Answers

RANK
199,241
of 300,379

REPUTATION
0

CONTRIBUTIONS
3 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 20,931

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,262

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

Feeds

View by

1

answer

Question


I am trying to build this code to where I can type either YES or NO when asked for the input in line 1, but whenever I type NO, an error pops up saying "Matrix dimensions must agree". I am not sure where I am going wrong.
tail_stinger = input('Has a tail/stinger?','s'); if tail_stinger == 'YES' straight_tail = input('Tail straight like a nee...

8 years ago | 1 answer | 0

1

answer