photo

Collin Kerr


Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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)

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta