« first day (423 days earlier)      last day (2804 days later) » 

12:10 AM
\o/ I'm at 108/500 of Illuminator. Over 20% :D only 4 years to go on the badge
@LuisMendo in your latest answer: you define y in the second line, but don't use it in the answer
I suspect your last line should read result = [SubMasterList(:,1) y]; instead?
(then the x is actually useless though)
 
12:30 AM
@Adriaan You've been adding those big gilded letters to the first word of each page and drawing dragons and things?
 
@Adriaan Thanks! Actually it's result = [x y]. Edited
 
 
2 hours later…
2:24 AM
@AnderBiguri then the same code will be compiled twice. but thanks found the answer. It turns out we can use "reusable function" option.
 
 
6 hours later…
8:36 AM
posted on August 26, 2016 by Jiro Doke

Jiro's pick this week is Teaching Calculus with MATLAB by the TCM Team.I really like these apps that the folks from TU Darmstadt and University of Stuttgart created for teaching various calculus concepts. Many concepts taught in calculus can can be better understood if the students can visualize them. Back... read more >>

 
 
2 hours later…
10:24 AM
@beaker obviously
 
10:34 AM
chatlab and talktave, bring Cleve Moler here he should attest this
anyway just passing by to say hellp , keep it good
 
 
5 hours later…
3:31 PM
perms blows up in size rather quickly with lengthy arrays, hence the warning you shouldn't use it with more than 10 elements in an array. The optimisation way is to buy more RAM than fits in a proper sky scraper. — Adriaan 12 secs ago
ahh, Out-of-Memory errors when using perms. Always funny
 
I love perms
especially when you try to get someone to explain exactly why they need every single permutation
and I have no idea what the OP's code does
or is supposed to do
 
4:19 PM
@Adriaan Turns out he wasn't that wacky after all.
 
4:40 PM
@beaker ah good
I thought about this when cycling to the supermarket and figured out that most people have some constraints on their possibilities. However, they first generate all possibilities and then delete the ones incompatible with said constraints, instead of generating only those which fit the constraints
btb: sortrows does have the 'descending' option, it's just hidden away... if only I'd know that earlier
5
A: Remove rows with same first column and min second column

AdriaanYou can use sortrows after which you extract indices from that array using the second output of unique SubMasterList = [6004 1; 6004 2; 6008 1; 6008 2; 6010 1; 6012 1; 6012 2; 6012 3]; tmp = sortrows(SubMasterList,-2); %sort, with descending order to ensure the highest number is on top [~,idx,~]...

 
@Adriaan wow, that's pretty cool :D
ooh, and I didn't know you could pass a function to accumarray, either :D
 
@beaker that I did know
a specific list of functions though; default is sum, aka it behaves as sparse would
 
 
1 hour later…
6:19 PM
Looks like someone has run up against a question ban and is editing old questions to ask new ones:
0
Q: Error using ode45 (line 87) Not enough input arguments. See ODE45

Shahab* The equation I'm trying to solve is defined by: * dr/dt=Vsinγ dθ/dt=VcosγsinΨ/rcosφ ...

 
6:49 PM
@LuisMendo dude, you just revealed your real name on the internet
(sorry, 2-day-late ping as I was away for 2 days)
 
@AndrasDeak :-o
 
 
2 hours later…
8:41 PM
@AndrasDeak :-) And it's surprisingly similar to the one I use here
 
8:57 PM
@LuisMendo You can't fool me, Don Muesli.
 

« first day (423 days earlier)      last day (2804 days later) »