photo

Matt Stone


Last seen: 2 years ago |  Active since 2021

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
294,566
of 302,380

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,759

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 181,952

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Multiple conditions in an IF statement and they are not logical scalar values
Here is the sample code that I have written and keep getting this error: n=input('Enter the values: '); xmax=input('Enter the ...

6 years ago | 1 answer | 0

1

answer

Question


Why is my code only outputting one value instead of a vector?
v_0=input('Enter the inital Velocity'); g=input('Enter Gravity Constant'); for t=0:0.05:(pi/2) r=(v_0^2/g)*sin(2*t)%#ok<N...

6 years ago | 1 answer | 0

1

answer