Ben Newton
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0