Message from @Sam Southern - TN

Discord ID: 410204670372479006


2018-01-31 18:45:42 UTC  

@Corey

2018-01-31 18:46:48 UTC  

@Deleted User there are a few of us who can help with calculus. Personally I used to teach it for many years. What kind of problems are you trying to solve?

2018-01-31 19:17:28 UTC  

We started with limits and are moving into derivatives and tangent lines. It just seems like the instructor is getting high on his own supply of math knowledge and not teaching us a clear cut way to solve the problems.

2018-01-31 19:20:08 UTC  

He also doesn’t explain any rule he uses especially with algebraic manipulation which makes it difficult to follow.

2018-01-31 19:22:48 UTC  

I’m having trouble recognizing the problems and what rule to apply to find solutions

2018-01-31 20:41:56 UTC  

read the book along with the class

2018-01-31 20:42:09 UTC  

also, talk to the dept head maybe

2018-01-31 22:17:38 UTC  

Yeah right now I’m fairly reliant on the YouTube.

2018-01-31 22:30:04 UTC  

@Deleted User feel free to regularly post photos of problems you are working on

2018-01-31 22:30:23 UTC  

Sure when I hit a roadblock I’ll post a pic

2018-01-31 23:48:36 UTC  

@Deleted User Professor Leonard on YouTube has great videos for calc concepts. Also feel free to post pictures of problems if you want to.

2018-02-02 05:35:14 UTC  

this Professor Leonard guy is swole af

2018-02-05 22:19:24 UTC  

Does anyone here know Matlab? I’m taking a Matlab class and am super confused

2018-02-05 22:20:46 UTC  

@Sam Southern - TN I know *some* Matlab, what's up?

2018-02-05 22:21:54 UTC  

Driving rn, I’ll send what I’m working on in like 10. It’s basic (apparently lol), but I am not good at the cyber

2018-02-05 22:22:12 UTC  

Gen Z not being good at cyber hahah not living up to my gen I know

2018-02-05 22:24:17 UTC  

@Sam Southern - TN sounds good, post it when you can

2018-02-05 22:45:16 UTC  

1. Write a function (I'm calling it v) that takes in two scalars (a and b) spits out a vector (v) that is a row vector of the length b with the terms being the first a powers of b

2018-02-05 22:45:53 UTC  

So I tried to do someting like this:
function v = hw1_problem5(a,b)
b = length(v);
v = a.^b;
end

2018-02-05 22:46:34 UTC  

so that the function length would track with b and the vector would be that length

2018-02-05 22:46:54 UTC  

and the vector itself would use vector exponent rule of .^ to raise each to the correct power

2018-02-05 22:47:07 UTC  

but it's only giving me the first output instead of all of the outputs

2018-02-05 22:47:57 UTC  

for example, when I input hw1_problem5(2,3), it should output a row vector containing the first 3 powers of 2

2018-02-05 22:48:04 UTC  

so [2 4 8]

2018-02-05 22:48:24 UTC  

but it only gives [2]

2018-02-05 22:48:34 UTC  

so it's not accepting my length argument somehow

2018-02-05 22:51:23 UTC  

there's another one after that that involves zeroing out part of an array in certain locations, but I'll take any help i can get

2018-02-05 22:51:27 UTC  

shit is so confusing to me

2018-02-05 22:53:44 UTC  

@ThisIsChris let me know if that doesn't make sense

2018-02-05 23:09:01 UTC  

if any other <@&387091385075105804> know how to matlab, I would greatly appreciate the help!

2018-02-05 23:16:15 UTC  

@Sam Southern - TN the second line, `b = length(v);` is changing the value of b

2018-02-05 23:16:33 UTC  

how do I set the length of the vector to b?

2018-02-05 23:18:20 UTC  

@Sam Southern - TN so first I would make a vector of 1..b, I'll call it powers, s

2018-02-05 23:18:32 UTC  

so
`powers = 1:b`

2018-02-05 23:18:38 UTC  

then

2018-02-05 23:18:50 UTC  

`v = a.^b`

2018-02-05 23:19:57 UTC  

now it's giving me the last one instead of the first one as the output

2018-02-05 23:20:01 UTC  

so [8]

2018-02-05 23:20:05 UTC  

instead of [2]

2018-02-05 23:20:10 UTC  

but not [2 4 8]

2018-02-05 23:21:57 UTC  

hmm I see, I'm at work now will have to check this out in a little while (unless someone else steps in 🙂 )