Community Profile

photo

Matt Stone


Last seen: 20 días hace Con actividad desde 2021

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 2
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


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 ...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta