Community Profile

photo

Ben Newton


Last seen: presque 3 ans il y a Actif depuis 2019

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

Question


Adding the values of a vector together and creating a vector comprised of its sums
So I have a column vector s, the length of the vector can change and the values inside are randomly either +1 or -1. for this ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


how do I apply an if statement to each row of a column vector?
i have a 1x10 column vector consisting of random numbers. and i want to apply the following if statement to each number in the...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Inner matrix dimensions must agree
%ben newton swansea university 956205 k = 997.584; %stiffness, units = N/m m = 10.692; %mass, units = kg xo = 0.026844; %in...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


fprintf help wont show full statement
fprintf("afunc*bfunc gives us %d therefore is a root between 0 and 5 \n', rootproof") %gives the output afunc*bfunc gives us...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


need help with basic speed time graph plot
need to make a subplot for this speed equation over 0 to 8 seconds, but all i get is a blank graph. i think its because the grap...

plus de 4 ans il y a | 1 réponse | 0

1

réponse