Community Profile

photo

Collin Kerr


Active since 2016

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How come this codes works, but the other one doesn't.
*(WORKS)* %% variables V = [17.43 11.46 8.11 4.23 2.29 30.18 19.84 14.05 7.34 3.96 34.85 22.91 16.22 8.47 4.57 13.18 19.84 1...

8 years ago | 1 answer | 0

1

answer

Question


How do I calculate the resultant force in a program?
If your given three 5 rows and three columns how would you figure out the resultant force.

8 years ago | 0 answers | 0

0

answers

Question


I don't know how to take the next step.
%8 to 15 meters is the range %Velocity is 0,15,30,45,60,75,90 clc,clear V_o = input('Velocity at launch = '); Th...

8 years ago | 1 answer | 0

1

answer

Question


Could someone perhaps guide me in the right direction to figure out a way to start this code?
(Assignment) "Your program should also have a feature that predicts the velocities and elevation angles at which the projectile...

8 years ago | 1 answer | 0

1

answer

Question


Whats wrong with my quadratic formula?
V_o = input('Velocity at launch = '); Theta = input('Elevation angle at launch = '); a=9.81; %Its ...

8 years ago | 2 answers | 0

2

answers

Question


Why isn't my code working?
%8 to 15 meters is the range %Velocity is 0,15,30,45,60,75,90 clc,clear F = input('Targeted Distanc...

8 years ago | 1 answer | 0

1

answer

Question


Why isn't my code working?
%8 to 15 meters is the range %Velocity is 0,15,30,45,60,75,90 clc,clear F = input('Targeted Distance = '); V_o =...

8 years ago | 0 answers | 0

0

answers

Question


Why wont all 4 subplots not work?
subplot(2,2,1) fplot('cos(u-45)',[0 360]) subplot(2,2,2) fplot('3*cos(2u)-2',[0 360]) subplot(2,2,3) fplot('sin(3...

8 years ago | 1 answer | 0

1

answer

Question


Why doesn't this work?
clc,clear prompt = 'Give a matrix of 4x4: '; x = input(prompt); [m,n] = size(x); M=magic(4); ...

8 years ago | 1 answer | 0

1

answer

Question


What would I need to make 'i' allow all matrices?
clc,clear prompt = 'Give a matrix of 4x4: '; x = input(prompt); for i=1:16 if x(i)<=0 ...

8 years ago | 2 answers | 0

2

answers

Question


How do I find the last number that added up to or over 10000?
x = 1; while x<10000 x = x + 2; end disp(x)

8 years ago | 1 answer | 0

1

answer

Question


Negative squareroot quick and easy
I just need a quick and easy way to say The square root of xxxx is yyyyi so the square root of -100 is etc... B = sqrt(R) ; ...

8 years ago | 1 answer | 0

1

answer

Question


Menu/Trig help
clc A = input('Opposite angle: '); B = input('Adjacent angle: '); C = input('Hypotenuse angle: '); E = (...

8 years ago | 1 answer | 0

1

answer

Question


Right now im trying to make average grades on matlab from a chart on excel. How do I say on matlab the hw row is 15% of my final grade and the test is 30%.
clc A = xlsread('Joke.xlsx') B = mean(A(1:42,1)) C = mean(A(1:16,2)) D = mean(A(1:3,3)) E = mean(A(1:1,4))...

8 years ago | 1 answer | 0

1

answer

Question


How do I find the mean for 42 rows for one column, but for the second column only the first 3 rows, which is pulled from an excel table.
I just need to figure out how to extract only part of a column

8 years ago | 1 answer | 0

1

answer