« first day (160 days earlier)      last day (3060 days later) » 

12:02 AM
@TroyHaskin So can I get 1/8 as the upper bound?
@TroyHaskin I am asked to do it for different times....
 
@evinda I don't know. I'd play around and see if I could if I was working on the problem.
 
Ok... Could you explain me why the following doesn't hold?
the closer ν is at 0.5, the better is the approximation, i.e. the smaller are the errors. @TroyHaskin
 
@evinda It doesn't make sense to me because a Courant number is used to express stability while dx and dt are decreased to increase the accuracy of the spatial and temporal discretizations, respectively.
You can have a ν of 0.5 if U = 1, dt = 1, and dx = 2 or you can have a v = 0.5 if U = 1, dt = 0.001, and dx = 0.002. Both are stable in the linear, constant advection sense because v <= 1, but the latter is more accurate because the meshes are denser.
 
yeah, it doesn't get more clear than that
 
@TroyHaskin So is it right as follows?
The closer the Courant number is to the upper bound of the cfl condition and the more points of discretization we have for x and for t, the more precise will be the approximation of the solution.
 
12:16 AM
@evinda Did you even read my quantitative example?
Or the PDF I've directed you toward (twice)?
 
@TroyHaskin I read your answer. Doesn't this mean: meshes are denser.
mean that there are more points of discretization?
 
@evinda I have a strongly increasing suspicion that you're trying to get us to actually word your answer to your homework.
 
@AndrasDeak I just want to understand why that what I say is wrong...
 
@evinda then please honor Troy by reading his answers:)
 
@AndrasDeak We haven't talked about meshes in class so I don't understand the terminology well...
 
12:19 AM
@evinda I feel you're conflating stability with accuracy and I want you to stop doing that.
 
@evinda it's OK, me neither. But Troy clearly explained to you 3 messages earlier how the Courant number and the mesh density are unrelated up to a point
 
@evinda It is true that having a Courant limit close to but below 1 reduces the diffusion of the upwind method; however, diffusion is also multiplied by dx: diffusion = U*dx/2*(1-v). So, if dx is still large, diffusion will be large even if v is close to 1.
 
@TroyHaskin When I implement the upwind-method I do not use a diffusion-term :/
 
And with non-constant advection velocities, the maximum value of the Courant number for stability decreases with increasing speed. So you almost never go close to one.
@evinda Great Lords of Kobol: I wrote about this yesterday.
 
@TroyHaskin I confirm @evinda
which leads me back to my earlier post:
7 mins ago, by Andras Deak
@evinda then please honor Troy by reading his answers:)
 
12:27 AM
I don't know why you guys still bother
 
@David I'm really, really into Pyrrhic victories.
 
:D
We're just too nice. Especially Troy:P
I mostly stick around to learn about numerical PDEs from him:D
 
12:53 AM
@TroyHaskin @AndrasDeak I will read it again tomorrow... I am tired right now... Good night!!!
 
good night
It would probably help if you weren't exclusively here after 10-11PM:)
 
 
2 hours later…
2:41 AM
@AndrasDeak
 
 
7 hours later…
9:52 AM
@beaker aww, thanks :)
 
 
1 hour later…
11:05 AM
0
Q: over segmentation in watershed

friend My input Image is it is seen that some of the ellipse like structures are merged with rectangle.Also I'm unable to separate each labels to get the ellipses Algorithm used is watershed clear; close all; I = imread('Sub.png'); I = rgb2gray(I); figure; imshow(I) I2 = imtophat(I, strel('square', ...

there we go again, the grey-scale spine picture
 
 
1 hour later…
12:33 PM
0
A: Passing data through handles in Matlab Gui Guide

R.BergamoteHandles are intended to refer to objects. If you want to share data you can use the setappdata and getappdata functions as excaza explained in his link. Another way to deal with it, which feels more natural for Matlab users is to save it to a workspace using evalin and assignin % load the data ...

Another way to deal with it, which feels more natural for Matlab users is to save it to a workspace using evalin and assignin
*twitch*
 
 
1 hour later…
1:36 PM
@excaza you were sorely missed on that question:P
@excaza yup
Maybe I should flag for offensive.
 
1:56 PM
-3
Q: triangle wave function in C Code-S Functions

siska agI am trying to make a function to generate triangle wave in C code S-Functions in matlab 2015a. This will be used to make the carrier for PWM inverter simulation thanks a lot

that's not even a question :P
 
2:28 PM
the title is enough for me here:
0
Q: Can not get a global variable from within a loop (Matlab)

AllansmanI have been trying to get a variable from a loop but all the attempts had been unsuccessful. I am a new programer so perhaps I am doing a dumb mistake. Here is the part of the code that I am doing the loop: for t=1:k conta=0; for f=2:i for w=2:j ...

oh lol he doesn't even have a global
@Adriaan
for f=2:i, for w=2:j with no prior definition of i and j will be a problem: you're trying to loop from 2 to the imaginary unit. — Andras Deak 1 min ago
you're welcome:P
 
@AndrasDeak thanks!
 
2:44 PM
Mornin' guys
 
@Ballbreaker hey
 
How's it goin?
 
@Ballbreaker how's it going yourself
I broke 4k! So nice, so useless
 
Lol rep? or a TV
@Adriaan Good, I found a band last night I should have found ten years ago lol
I've been really enjoying them
They're called "Hum"
This one scared the shit out of me hahha, it's an awesome song. Slow for the first little bit
 
3:03 PM
@Ballbreaker this song was pretty huge, I love it
my favorite live version because they're just crammed into the studio
 
Hahah howard stern, classic
I'm surprised I only found out about them last night, like wtf is that shit
It's rare that a band this good flew under my radar for this long
I was listening to the full album last night for the first time, and the into to 'stars' actually scared the living shit out of me
It was so loud and with headphones on in the dark lmao
@excaza lmao the guy playing drums in the hall is too much
 
I'm bummed, they played in Boston a few months ago and I couldn't make it
 
Awwww
Thats upsetting, I hate when that happens
 
3:28 PM
0
Q: Table.Properties.RowNames differs from cell array of strings

user36800Table.Properties.RowNames seems to behave differently from a cell array of strings, even though that's apparently what it is. I can get the behaviour of a cell array of strings by assigning it to a variable. Wondering what the explanation for this might be... >> x=array2table(ones(2),'RowNames...

Am I missing something?
Why is this a profound discovery
@Ballbreaker I wish the vinyl was cheaper, I'd love to have it
 
@excaza How much is it?
I imagine it's probably up there... one vinyl I really want is "songs for the deaf" by queens of the stone age.. it's my favourite album, but the cheapest I can find it is like 120 dollars lol
 
Amazon has it for $80ish
I'll have to search around and see what else is available
 
haha that's not too too bad then
660 canadian -__-
I'm just waiting out and hoping that they do a remaster/rerelease of it at some point in time
@excaza I somewhat doubt hum would re-release it, so I would jump on that sooner than later.. it'll just go up in price
 
3:47 PM
There was this back in 2013: smilepolitely.com/splog/…
 
Hahaha I bet they just wanted an excuse to have jack off in a sentence
 
Going to the other link it's sold out
 
My browser is having struggles opening that link lol
If they already did a reissue then ya, jump on that lol
 
Those were the original pressing for $35, which would have been awesome had I been paying attention
 
so I will just have to wrap all the distinct steps of calculation up into sym(.....). This is like the moment when I start singing to stop myself from crying. — user10607 57 mins ago
I like him
 
3:50 PM
@excaza Yeah that's always an issue :\ damn
 
Though the reissue is only $22
maybe I'll do that and then mail the band money somehow haha
 
So wait, the second link is the original pressing, and the first is a reissue?
Just get the reissue if it's available haha
 
Yeah
the problem is the band isn't getting money for the reissue
or at least wasn't in 2013
 
Oh :| so it was just a label reissue or something?
Yeah.. maybe get the reissue, then figure out a way to send the band the difference between the original pressing , so the $12
 
I shouldn't have looked this up
my cart is already up to $75
 
3:59 PM
Hahahaha
What else?
If it makes you feel better I spent $170 on Tool merchandise like four days ago
$50 of it was presents for my dad and brother.. but still
 
@Ballbreaker I paid €80 for a Dream Theater ticket last month. That's like $110...
 
Eh, spending money on a concert is more justifiable then how much I spent on a lighter, a hat, and 2 posters lol
Was like $40 of shipping :\ god damn it lol
 
I really hate Sonos sometimes
 
@Ballbreaker indeed. Smoking is a bad habit; I buy my hats at the "English hatter, Fine gentlemen's outfitters" and already have 6 posters on my meager walls
 
to get a line in I have to buy their $350 connect thing
dakljfh
the alternative is speakers and an amp, which will cost just as much (probably more) and something I don't have room for
life is so hard
 
4:04 PM
For what? To hook up to your turn table?
I have a turntable that connects to my computer, which I connect to my sound system
Use the sound card on my comp as an amp
@Adriaan Lol only 6? Cmon man
If I had to count I would say I have over 20 posters
 
@Ballbreaker I don't have much wall space
 
@Adriaan Fair enough, I don't reeeaaallly either, but I guess I sort of do
 
I also needed to place my wardrobe, three book shelves, CD shelves and a refrigerator :P
 
Is your apartment just one single room?! lol
 
mine is :p
 
4:07 PM
@Ballbreaker I'm a student you numb-nuts
 
Well the only speaker I have right now is the Sonos
which is fine for a single room
 
technically it's a single-room apartment, though I have a separate kitchen and bathroom of course
 
Ahh true enough..
I always forget most people in here are perpetual students
 
@Ballbreaker not for lack of earning credits though. Government wants you to get 60ECTS/year, most perpetual students get around 20
I get 70ECTS/year, but am doing two studies simultaneously, hence the delay :P
 
Is that your currency?
Oh nevermind
 
4:10 PM
European Credit somethingsomething
1ECTS equals 28 hours worth of study
 
Are you an undergrad?
 
hence a 5 credit course takes you 5*28 hours
@Ballbreaker what's that? I got a BSc degree, doing a double MSc now
 
Ah okay
Undergraduate = bachelor degree
Graduate = Masters degree or PhD
 
@Ballbreaker I'm going through their entire catalog and adding what I'd like to have lol
 
I just wasn't sure because here in Canada for a Masters, it's more heavily dependent on research with a bit of credit requirements
@excaza hahah is that the first link you sent me ?
Smile politely
@excaza That can become deadly, I've fallen into some serious splurge spending that way
 
4:14 PM
yeah
I'm cutting myself off at $150
 
hahaha :D
At least your in the US (right?)
 
Hi all :)
 
I always find myself being like "ahh I'll cut off at $100" then the shipping to Canada is like another $50 lol
Then I forget that the currency exchange over visa transactions is stupid
and it ends up being around $80 more than I planned on hahaha D:
 
O.O
Fuck lol
I would spend way too much money on here
drools
Good thing it's out of stock, otherwise I would have just started buying vinyls
 
4:21 PM
@Ballbreaker haha guess what?
 
I've got 8 things in my cart right now, $8 for FedEx :D
 
@rayryeng You got an n64 and mario kart?
 
I'm about to leave for work this morning.... and I had a strange feeling to check my email
one of my coworkers sent us all an email with a picture of an eviction notice taped to our front door at work.
 
@excaza Haha screw you
 
My work defaulted in paying their rent this month
 
4:22 PM
@rayryeng o.o shiiiiiiiit
 
yup LOL
so the CEO is asking us to work from home until things get resolved.
TBH, I ain't fucking working until I know there's a place for me to go back to
if they don't have money to pay the rent, what makes people think they have money to pay my salary?
@Ballbreaker I wish man :( Would have been an awesome Christmas gift to myself.
 
@excaza I keep finding some gems in here, lol how many god damn pages is this catalog.. I can't stop
 
@Ballbreaker You know what's funny? The CEO yesterday told us that they have money for the next couple of months
only to be slapped with an eviction notice the day after lmao.
Seriously, who writes this shit up?
 
@rayryeng god damn it man, lol that's so ridiculous..
 
for sure lol
I'll catch up with chat in a bit, but I just wanted to tell someone. I'm laughing, but shitting my pants all at the same time.
 
4:26 PM
Yeah dude no doubt... jesus. At least you didn't go all the way to work to find this out and have to go homme
 
oh yeah lol
my buddy sent us the email at 8:40 a.m.
I usually don't check my email before I leave the house... because I'm always late for work
but I had an inkling to check this time.
 
@excaza omfg srcvinyl.com/music/vinyl/… ... when will the GEMS STOP AGH
@rayryeng It's weird how you get those feelings sometimes eh
 
for sure man
 
@rayryeng well shit.
 
Like the universe is poking you
 
4:27 PM
Free lance coding until you become prof?
 
@Adriaan I'd say so sir. I don't have a choice at this point.
 
I am teaching a course at my university next semester though. I've been hired as a contract instructor.
 
@excaza I fucking hate you so much right now
 
@rayryeng you'll have students emailing you about your SO help in no-tine :D
4
A: Get matlab to show square roots (i.e. 2^(1/2) instead of 1.414)

AdriaanAs per @Oleg's comment use symbolic math. x=sym('2')+sqrt(sym('50')) x = 5*2^(1/2) + 2 The average time on ten thousand iterations through this expression is 1.2 milliseconds, whilst the time for the numeric expression (x=2+sqrt(50)) is only 0.4 micro seconds, i.e. a factor of ten thousand fas...

 
4:28 PM
ah shit man lol
 
I just plain stole Daniel's answer to my own question and got so much rep for it xD
 
lmao... it happens
you should get a badge for that.
 
@rayryeng stealing Daniel's answers? :P
 
MY eye is twitching with temptation to drop $100 bones on vinyls as a christmas present to myself... I HATE YOU
 
@Ballbreaker Lots of people agree.... especially n00b SO users :D
@Adriaan lol yes... actually, I have one example
 
4:30 PM
Gah, there are atleast 6 records I want, that are all the last one remaining...
 
13
A: By which measures should I set the size of my Gaussian filter in MATLAB?

rayryengOne of the most common and heuristic measures on determining the size and ultimately the standard deviation of the Gaussian filter is what is known as the 3-sigma rule. If you recall from probability, the Gaussian distribution has most of its values centered between [mu - 3*sigma, mu + 3*sigma] ...

This is one of those cases where we posted merely within seconds of each other
I got 13 votes, Daniel got 0.
 
@rayryeng I was actually citing Daniel's answer to this question of mine:
3
Q: Controlling division precision

AdriaanConsider the following simple division: A=8.868; A/0.1 ans = 88.679999999999993 This results in a small mistake, due to floating point precision. Is there any way to prevent this from happening? Basically all I'm doing is shifting the comma one position, whilst not being close to the maximum...

 
@excaza .... Seriously, Did I mention I hate you?
 
@Ballbreaker vinyls don't fit in my CD player
 
@Ballbreaker :)
 
4:34 PM
You're lucky because they're expensive
This selection is insane
Yeah $45 for shipping lol
I should just throw this cart out before I buy it
Ah fuck, well there goes $180 .. I couldn't really resist
It's hard to look at 5 of your favourite albums, by 5 of your favourite bands and just go "nope"
 
@Ballbreaker you don't own everything by Justin Bieber already? Im surprised
 
:D
God damn it. Can't believe I just spent that much.. waaaah Oh well, I almost spent 1grand on a tv the other week so I guess it's not so bad..
Merry Christmas to meee
 
4:53 PM
@Ballbreaker Christmas is a perversion of our Sinterklaas.
@Ballbreaker stop talking about spending tons when Ray almost looses his job and I am a piss poor student :p
 
What I got:
Modest Mouse - Building something out of nothing
Foo fighters - Foo fighters
Incubus - Science
A perfect circle - Mer de Noms
Nine inch nails - pretty hate machine
In case your curious..
@Adriaan Can't diss your black face holiday
 
@Ballbreaker it's great!
especially going blackfaced to an anti-zwarte piet demonstration :D
Zwarte Piet is the negro helper of the white dude
 
You could have said black helper hahaha
 
that'd be the politically correct term, yes
worst thing is how all the fuss started
 
a bunch of white people got upset?
 
5:06 PM
some jumped up solo researcher from Jamaica who'd done some work for the UN in the past decided to devote her time to talking down our national celebration, and wrote a 5 page open letter to our government, on UN LETTER PAPER
so everyone thought the UN was calling us out for discrimination, whilst it was a solo act of some Jamaican sociology lady...
but, fire started, everyone got interested and the blacks in the Netherlands suddenly no longer stayed silent, and some 1.5% of the population now thinks Sinterklaas is bad
thus no more Zwarte Piet at primary schools, because 1.5% of our citizens complains...
 
Omg the foreign currency rate added so much... fuck
$230 for these records o.o
A fuck. A you.
@Adriaan Oh god
I wonder if it's too late to cancel this order.. hmm lol
 
@Ballbreaker can't you order from Canada?
 
See that's the thing, I probably should have done that, I just saaw all this and was like OKAY OKAY OKAY . BUY
 
@Ballbreaker a true supporter of capitalism
 
I just wanted to flag a question in order to say it belongs to another SE site. But there are only 5 choices (none of which fit...)
 
5:16 PM
@flawr which question?
You can use a custom moderator flag, but that'll most likely get declined as people (include mods) are assholes in terms of migrating stuff
 
I wanted to redirect to math.SE but the only options are meta, superuser, tex, dba and stats.
0
Q: How to converts Loss Function L(z) to Standard normal distribution (z)

user89670z is the standard normal distribution F(z) is the probability normal distribution L(z) is the standard loss function i can find these values using below code z=NORMSINV(x) F(z)=NORMDIST(z) L(z)=1/SQRT(2*PI)*EXP(-0,5*z*z)-z*(1-NORMSDIST(z)) I want to ask specific question.In my case,I have ...

 
flag blatantly off topic
 
But I still do not understand why I only have those 5 options.
Should i perhaps ask about this in meta?
 
@flawr Those are the only sites that posts can be automatically migrated to
the others require moderator intervention
you should use a custom close reason
i.e. "Other"
 
@Adriaan Well I tried calling them, straight to voicemail, so I had to send an email :\ their customer support seems like it's rubbish
I really hope I can get this cancelled.. I wonder if I could call my bank and get them to cancel the visa charge
God damn me
 
5:28 PM
Is there some weird image processing stuff sans a third-party product that makes this question make sense?
0
Q: how to calcule a rank of a tensor in matlab?

han hanI have an image A [300 300 13] that i presented as a tensor in order to extract characteristic via this tensor. Tensor T = (A); I have trouble understanding the interest of decomposition (either Tucker or CP) to the tensor decomposition why this decomposition ? and how to calculate the rank of...

 
@TroyHaskin Doesn't make any sense to me...
but then that's nothing new ;)
 
@Adriaan "from the [docs]...wait for it...(mathworx.com/...)"; ? :)
 
6:14 PM
@rayryeng ooooooooooooh that's....something
@flawr you probably shouldn't, been discussed many times
the concept is "don't migrate crap to other sites", which is the reason why most custom migrate flags are declined
that question is pretty crap, so no one will migrate that
close as off-topic and comment, as you did, is all you can do
 
@AndrasDeak Sorry, I didn't even look at the question. Yeah, don't migrate crap.
 
it's OK:)
 
@flawr Hey, that was GREAT!!
 
13
A: Why was my mod flag declined?

Ilmari KaronenAs Servy notes, the official SE policy is "don't migrate crap." In my experience, it's actually quite rare for flagging a question for migration to be the optimal choice: If the question is new and has no answers yet, it's better to close it as off-topic and tell the asker to repost it on the ...

@TroyHaskin can you even have a definition like that? Maybe with classes?
 
6:30 PM
@AndrasDeak Hence my comment:
What's with the C(++) style variable declaration? — TroyHaskin 59 mins ago
I don't think you can override the core Matlab syntax with classdefs.
 
@AndrasDeak even with classes it would be T = Tensor
 
But you can instantiate a Tensor class and Matlab with throw the indicated error.
@beaker Exactly.
I feel the OP is porting from some other language/library with another syntax and assumes Matlab understands tensor algebra.
 
@beaker ah, right:)
thanks guys
 
... It would be nice if the Mathworks had an official Tensor API though. It'd help with my vector-valued, multivariate Taylor expansions.
 
6:33 PM
@TroyHaskin sympy/numpy?
you'd appreciate numpy.einsum
 
@AndrasDeak Yeah, but I'm too far in the woods with Matlab right now.
Plus, my Python advocate friends make me hate Python.
 
oooh, I see
numpy makes python awesome:P
 
And I can appreciate that.
 
But my friends act like Python is the solution to everything and look down on me for using Matlab on a Windows machine.
 
6:36 PM
windows, eh?:P
 
I'm a big FLOSS supporter, but their arrogance and snobbery engender nothing but contempt in me.
 
@TroyHaskin I completely understand
being badgered by fanboys never helps a cause
 
;)
 
@AndrasDeak Yeah. I actually like Windows and certain distros of Linux. But Windows runs all of the software I need and comes pre-installed on my computers (I'm lazy afterall).
@AndrasDeak True story.
 
6:38 PM
@beaker That could be it. But then they may mean they're linking against the library in MEX?
 
@TroyHaskin It's a possibility.
 
@Dev-iL jah, brackets went wrong. I also initially downvoted the question, since I thought: "Well, there's a bloody built-in for that!", hence also the dots, until the OP told me it didnt work for tensors
 
@LuisMendo I love those videos=)
 

« first day (160 days earlier)      last day (3060 days later) »