Community Profile

Collin Kerr

Active since 2016

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

etwa 6 Jahre ago | 1 answer | 0

1

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.

etwa 6 Jahre ago | 0 answers | 0

0

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

etwa 6 Jahre ago | 1 answer | 0

1

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

etwa 6 Jahre ago | 1 answer | 0

1

Question

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

etwa 6 Jahre ago | 2 answers | 0

2

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

etwa 6 Jahre ago | 1 answer | 0

1

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

etwa 6 Jahre ago | 0 answers | 0

0

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

etwa 6 Jahre ago | 1 answer | 0

1

Question

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

etwa 6 Jahre ago | 1 answer | 0

1

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

etwa 6 Jahre ago | 2 answers | 0

2

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)

etwa 6 Jahre ago | 1 answer | 0

1

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

etwa 6 Jahre ago | 1 answer | 0

1

Question

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

etwa 6 Jahre ago | 1 answer | 0

1

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

etwa 6 Jahre ago | 1 answer | 0