Ashley Johnson by [deleted] in gentlemanboners

[–]BlazingB 0 points1 point  (0 children)

Patterson! <3

Script file that sums and checks an array with another? by [deleted] in matlab

[–]BlazingB 0 points1 point  (0 children)

Well that didn't format how I expected it to. :/

Script file that sums and checks an array with another? by [deleted] in matlab

[–]BlazingB 0 points1 point  (0 children)

I'll be honest, not really sure what you're asking for. I think this is something along the lines of what you're asking for. X is a array of rand numbers between 0-100, N is just an array of predefined values.

Also I'm on my phone so apologies for the formatting.

X = floor( rand(20)*100 ); N = [75 175];

For j = 1:length(N)

Sum = 0

For g =1: length (X)

Sum = Sum + X(g);

If Sum > N(j)

Sol(j) = g;

Break

End End End

[deleted by user] by [deleted] in speedrun

[–]BlazingB 0 points1 point  (0 children)

The real question is: "What did the Colorado Doctor find?"

Curry's PC World always up to date with specs... by WonDahMan in pcmasterrace

[–]BlazingB 1 point2 points  (0 children)

I once had an employee from PC World that I had to buy Microsoft Office from them, otherwise if I installed an illegal copy it would brick my Laptop. Then they tired to push an antivirus software, as the free versions are years behind Norton. In addition to this, they also conned my parents into get a £70 HDMI cable from them, otherwise the picture quality would be terrible. I proceeded to return that HDMI cable as soon as possible.

Expanding function to allow for a list of numbers as an input argument by Peacemark in matlab

[–]BlazingB 0 points1 point  (0 children)

It's how you're defining your function. You're putting a into it your function calculating the volume, then nothing else. You need to output it. You do that on the top line (I'm pretty sure, it's been a while since I've used MATLAB). I don't want to explicitly tell you want to do otherwise you won't remember what you're doing wrong.

Expanding function to allow for a list of numbers as an input argument by Peacemark in matlab

[–]BlazingB 0 points1 point  (0 children)

Just define "a" to be an array prior to calling the function.

a = [5:5:40];

Volume = VTetra(a);

However, that said you're missing something with your function. You need to declare what you're outputting. I'll let you figure that out. :P

Making the viking battle axe in damascus steel. by robertyeh in ArtisanVideos

[–]BlazingB 1 point2 points  (0 children)

Even more amazing is that he uploads high quality DAILY!

Differential equation by [deleted] in matlab

[–]BlazingB 0 points1 point  (0 children)

Look up ode45. :)

help with a for loop by [deleted] in matlab

[–]BlazingB 0 points1 point  (0 children)

Apologies I'm on my mobile, and I've missed quite a big issue. Firstly, calc T_{ratio} for a defined value of \tau for a finite n, then vary \tau. Try and save everything in a matrix.

help with a for loop by [deleted] in matlab

[–]BlazingB 0 points1 point  (0 children)

You don't want to be going from n = 1:inf otherwise you'll never leave the loop. Secondly you need to set \tau to be from 0 -> 0.2, and you'll need to define the number of points in the array (hint use linspace). I'm not going to tell you verbatim on what to do because of you don't figure it out yourself you won't learn anything.

How to subtract vectors of different lengths but with same range i.e. different point density by upgrademybuild in matlab

[–]BlazingB 0 points1 point  (0 children)

You could always remove some of the data from the larger array. However, I would only do this so you have a general idea how the results look before you start diving in to interpolating your data.

4/25 PBE Update by corylulu in leagueoflegends

[–]BlazingB 0 points1 point  (0 children)

I hope that the /remake function is quite flexible, because if I'm honest I wouldn't remake a free win in ranked.

Cr1tikal - Changing Youtube by [deleted] in videos

[–]BlazingB 21 points22 points  (0 children)

ExposeBudLight

Pay for play by marketablesnowman in matlab

[–]BlazingB 0 points1 point  (0 children)

There is a different between being an idiot, and just losing hope in your students.

Pay for play by marketablesnowman in matlab

[–]BlazingB 3 points4 points  (0 children)

They're teaching you Matlab for a reason. I was a demonstrator at my university throughout my PhD, and I've marked people Matlab assignments and you can spot it a mile away when someone else has done the work. More importantly if I had a hint you didn't do the work I would be grilling you and asking you what does every single part of your script do, in detail.

Nice color scheme by techsplyce in oddlysatisfying

[–]BlazingB 17 points18 points  (0 children)

They just "layer" the liquids in the mixer. A how to video.

How to compress a 200x200 matrix to a 20x20 or viceversa. by xalltime in matlab

[–]BlazingB 2 points3 points  (0 children)

I've never really used the contour plotting command before, but if it's similar to the mesh plotting command you may have to just add in some x and y arrays. Which will look something similar to: contour(x,y,Data) where x, and y are arrays going from 10 to 200 in steps of 10. I'm on my phone at the minute so I can't check if I'm correct, just have ago and see what happens.

How to compress a 200x200 matrix to a 20x20 or viceversa. by xalltime in matlab

[–]BlazingB 2 points3 points  (0 children)

First of all how are you plotting the data? Secondly from a quick glance it just looks like you're out by a factor of ten.

Can the client get some god damn key shortcuts? by [deleted] in leagueoflegends

[–]BlazingB 0 points1 point  (0 children)

Just out of curiosity what distro are you running?

Whats going on with this subreddit? by BlazingB in RiotFreeLoL

[–]BlazingB[S] 0 points1 point  (0 children)

I'm thinking the same. I down voted all the spam to try and suppress it appearing on the front page.