photo

Ben Newton


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer