« first day (321 days earlier)      last day (2911 days later) » 

7:51 AM
@AndrasDeak hahaha well, yes, but the point is the rest of the message. I always saw symbolic MATLAB as the way of solvng that tiny specific problem you had
 
8:11 AM
Hi folks!
 
8:29 AM
yo
 
9:12 AM
-1
Q: Matlab: face images alignment using fixed eye position

LoveTronicHow to do face alignment as in this blog for different face images? I've review an example of Find Image Rotation and Scale Using Automated Feature Matching. Is there any possibility that I can make detectSURFFeatures to detect only the center of the eyes and align the images based on fixed eyes ...

sometimes I am tempted to just leave :
 
@AnderBiguri such a shame that gif don't one-box in comments
you'd almost leave an answer for that
 
hahaa indeed
 
9:43 AM
I picked up some newspaper today to find the following article: "The state of global economy: in one word - good, in two words - not good" :D
@AnderBiguri Is it something schwifty?
 
10:17 AM
LMAO
-1
Q: Matlab function task- need fast answer

Karq90Write a recursion function- generating all possible distributions given number N for the sum of natural numbers (for example 7=4+2+1) Thanks for fast help

 
yup, I sit on the exam now :( — Karq90 8 mins ago
 
XDXDXDXDXD I really want to write: Good luck on your resit
but I need to resist
 
write some python / C / eval solution
 
Study harder next time. Good luck on the resit! — Adriaan 15 secs ago
 
ohhh you mean person! I'm going to upvote that comment!
 
10:33 AM
I didn't know the word "resit"
 
@Dev-iL it's a misspelling of reslt
 
why hasnt anyone else CVed that yet?
 
I'm voting to close this question as off-topic because Stack Overflow is not a code writing service, especially not for exams that are just taking place. — Andras Deak 6 secs ago
 
@AndrasDeak TB would've fit as well imho. Oh well, as long as he doesn't get an answer on time
 
it's TB, but custom is OT only
 
10:38 AM
OF?
 
you saw nothing
 
I'm wondering why my cv-pls in the SOCVR usually take a long time to close. Is it because people don't care about MATLAB, because my cv-pls are not really bad questions, or that I simply post too much?
I even give more reason nowadays, but that doesn't seem to help either
 
@AndrasDeak Spreading disinformation much? :)
 
you don't think you post too much, it's more general apathy, I think
 
apathy is a shelter from the waves of crap that wash over SO time and again
 
11:03 AM
Hello everyone! Can I ask a question?
 
what's going to stop you?:P
 
My inner insecurity :)
 
I don't really know what you are doing, but it seems you are drilling a hole with a hammer. You may get the hole, but pretty sure you are using the wrong approach. — Ander Biguri 3 hours ago
@Ander is on fire:D
@francescop oh, we don't bite:) We might make snarky comments if the question is very stupid, but we only do that once you've left
so go ahead:)
 
@AnderBiguri keep on going, I'm having a great time with your comments :D
 
Anyway, the question is:

I have to plot 4 different lines, (I have a vector with avgs) the command are plot(vector); hold on; [...recompute the vector...] plot(vector); hold on; and so on... Am I right? Ok, then Matlab will change color for me at each plot. How can I add a legend with the color he used? I'm totally new on Matlab I only have to do an assignment, so thanks for your patience (I know you will do snarky comments but please wait until I leave lol)
 
11:09 AM
@francescop only one hold on is needed. It's holding until you call hold off
 
Ah ok, fist error.
 
@francescop mwoah, not really an error. Just superfluousity in your code. It'll run anyway
 
Yes in fact it is inside a for.
 
figure;
hold on
for ii = 1:numelFigs
    plot(vector);
end
something like that
you can use a cell array with colour specs if you want and loop through that as well. Legend goes per line anyway, so you can add that at the end, after the loop
 
adriaan the pink elephant to the rescue :D
 
11:13 AM
@GameOfThrows you calling me a pick :O
 
I barely ever type pink, habbits :D
 
^plotting ain't my strong suit ;)
 
@Adriaan Oh my god it's my second script in matlab :/ thanks a lot.
 
@francescop yw
 
plot
SCORE 44
POSTS 18
and you say it is not strong
 
11:14 AM
not even a bronze medal :P
 
And for the legend? Is there a way to add it?
 
@francescop legend('vector 1', 'vector 2', .., 'vector n')
@francescop the documentation has extensive examples on most functions. Call it using help <function> or doc <function>, or go to the online version
 
I think : doc legend wil help me
 
@francescop jup.
 
11:42 AM
@Adriaan @francescop When translated to English, it's "yup" ;)
 
Dutch-to-human translation
 
11:57 AM
@Dev-iL yes I knew :)
 
@francescop I imagined, was just joking about Adriaan's poor control of the English language ;) :P
 
jajaja I was in Germany 2 days ago. Nice place!
 
He's not from Deutschland, but rather "Dutch-land"
 
Is it Netherlands?
 
true
 
12:01 PM
I want to be there too! nice place to visit!
 
You should definitely visit that place before the sea level rises and Dutch-lantis becomes no more than a myth
 
Oh god, do you think that october is ok?
or is it too late?
;P
 
I have no idea really, I live in a land of eternal summer...
 
Which is?
 
12:28 PM
Anyway is there someone that knows a little about PCA and dimensionality reduction in a machine learning context?
 
I believe that's @rayryeng 's topic
and also @Adriaan 's type of soup
 
Hello people
 
Hello
 
@francescop I know somethings about PCA
But I' m looking for someone who can help me get a function working
 
what function then?
 
12:38 PM
I have downloaded the mean shift clustering
 
Oh I solved no problem :)
 
Which I run as
image = imread('banana/sunI5_Banana_096.jpg');

image = image;
MeanShiftCluster(image,5);
but that gives me an error
Undefined function 'norm' for input arguments of type 'uint8'.

Error in MeanShiftCluster (line 37)
sizeSpace = norm(boundBox); %indicator of size of data space
Any clue?
 
Undefined function 'norm' for input arguments of type 'uint8'. is the problem
what is your matlab version?
 
12:41 PM
2015b
I also tried casting it as doubles but that gave me the erro rError using norm
Input must be 2-D.

Error in MeanShiftCluster (line 37)
sizeSpace = norm(boundBox); %indicator of size of data space

Error in MakeBags (line 4)
MeanShiftCluster(im2double(image),5);
 
can you run it line by line to find out what boundBox is?
 
768x1x3 uint8
val(:,:,1) =

230
230
228
228
229
229
230
231
231
231
229
229
228
226
225
....
 
ah
it seems the code will only work for black and white image then
the 3 probably indicate a RGB image
 
oww
 
and it is not possible to do norm of this matrix
 
12:49 PM
But the comments at the top state this:
% dataPts - input data, (numDim x numPts)
% bandWidth - is bandwidth parameter (scalar)
% plotFlag - display output if 2 or 3 D (logical)
so wouldn' t that suggest 2D input?
 
a 2D is exactly a Black and white image
 
but 3D?
 
3D is RGB, if it allows, maybe you need to set some flags for your function call
so maybe it is default to processing a 2D image, but if your input is a 3D, you need to set some parameter to trigger some lines in the function
 
Not seeing it
code until this point:
function [clustCent,data2cluster,cluster2dataCell] = MeanShiftCluster(dataPts,bandWidth,plotFlag);
%perform MeanShift Clustering of data using a flat kernel
%
% ---INPUT---
% dataPts - input data, (numDim x numPts)
% bandWidth - is bandwidth parameter (scalar)
% plotFlag - display output if 2 or 3 D (logical)
% ---OUTPUT---
% clustCent - is locations of cluster centers (numDim x numClust)
% data2cluster - for every data point which cluster it belongs to (numPts)
 
the Input data specified is clearly 2D, I do not think this function supports RGB - it is very old
 
12:56 PM
Alright then
 
Alright then I will pick that one thanks!
 
there are loads, uk.mathworks.com/matlabcentral/fileexchange/44401-meanshift/… I guess just choose one that is intuitive to you
 
1:09 PM
Mornin
 
Hi there...!
 
Hi @Dev-iL
Hi @ballBreaker
 
1:32 PM
eyo
hows it goin?
 
Pretty fine (although i'd prefer being outside in the sun than in front of my PC ^^). What about you?
 
same here :D
also tired
very tired
 
1:48 PM
@BillBokeey downvote and flag as NAA
 
@BillBokeey How hot it is in your "outside"?
 
@AndrasDeak : Already flagged it, downvoted it now :)
@Dev-iL Sunny and warm, would more be a weather to empty some beers in the sun ;)
How "how hot"
oh*
damn
20 ish
celsius
 
 
1 hour later…
2:57 PM
@Adriaan @AndrasDeak :D
@Dev-iL :D Im glad you know about that
 
That's a very intelligent cartoon actually :)
 
Indeed it is
 
3:25 PM
Am I wrong or does this not answer anything?
0
Q: Matlab - displaying an object on a graph

Jonathan CarverI have a function for a timer as follows HH = 0; MM = 0; SS = 0; timer = sprintf('%02d:%02d:%02d',HH,MM,SS); for p = 1:86400 SS = SS + 1; if SS == 60 MM = MM + 1; SS = 0; pause(0.01) end if MM == 60 HH = HH + 1; MM = 0; pause(0.1) ...

 
you're linking to the question:P
but it wouldn't be the first crap answer from gariepy, to be frank
 
aah I think you are smart enough to see what I mean :P
 
don't count on it;D
 
3:56 PM
@AndrasDeak soory to say, but Hungary has been relegated again :( They finished last in group B, so next year it's Division 1A again
 
I'm not surprised much, we're not exactly dominators of the world's hockey scene
 
@AndrasDeak still loads better than us
Someone in the government started thinking a few years back "We're world-class in speed skating, world-class in field hockey... if only there'd be a way to combine the two" So, they spent a few hundred thousand quid on research and found out that hockey on skates exists. They're subsidising the program now to become world-class
 
@AndrasDeak Do what we do... steal players from the good countries ;)
 
@beaker you barely made the QFs this year :P
 
@Adriaan a lot of the good players don't want to get stolen ;)
 
4:08 PM
Specifically for the WM: they want the Stanley cup more than they want WM gold
 
@beaker only soccer has endless flow of moolah:(
 
@AndrasDeak not in the US. They just get all the retired EU players if I believe the ones who know something about this
 
@Adriaan Stanley Cup is comfortingly North American. We're apparently afraid of oceans.
 
incidentally, there's a new football stadium in the back yard of Viktor Orbán
 
@beaker mwoah, the main problem is that the IIHF wants to hold a WM every year, whilst the NHL does not want to go on a break every year. If it'd be every four years (like the Olympics), they'd go on break
@AndrasDeak for giving shelter to refugees?
 
4:16 PM
is it wrong to answer questions with a link to a code golf question?
 
@beaker golf all teh things!
 
:D
 
5:03 PM
124
Q: Highlight.js: For Real, Please

jtbandesBackground: SE currently uses the Google code-prettify library for syntax highlighting. The possibility of switching has been suggested in the past: Why doesn't StackOverflow use Highlight.js instead of Google-Code-Prettify? Switching to highlight.js for syntax highlighting (by the highlight.js...

 
@beaker Much sadness enters the world today.
 
@AndrasDeak hehehe
 
@Adriaan for sure
 
@AndrasDeak aww... :(
 
5:16 PM
Thank you for checking it out. So...any hopes for MATLAB with prettify? Should we give up, or keep nagging you folks?:) — Andras Deak 5 secs ago
@beaker fixed the reply target:)
golf ftw if you ask me
 
@AndrasDeak oh good :D
 
 
2 hours later…
7:25 PM
Welcome to Earth Engine!
 Earth Engine
Greetings, Earth Engine Developer, and welcome! You now have access to:
\o/
 
Best title I've seen in awhile.
0
Q: Connecting plots with a line or something?

VatoHow do i connect multiple plots? I have a plot like this Where each color represent a different plot3 Is possible to make a line or a dotted line between the each plot3 plot? just to visualize that they are connected?

 
Now to learn python
@TroyHaskin I used your VB != MATLAB statement again, thanks
@Pedro77 I'm not strong on the inner engine of MATLAB, but I guess something in the underbelly goes awry when there are two workers trying to simultaneously access the same element, hence it wants to know beforehand that all indices are unique. As for why it doesn't work like C#, simple, MATLAB ~= C#. — Adriaan yesterday
 
Niccccce.
 
@Adriaan I think you meant MATLAB <> C#
Btw ^ is the worst 'not equal' operator out there
god damn sql
 
@ballBreaker funny hearing you say anything programming-related
'sup pimp?
 
7:56 PM
bahaha
I've had the busiest two weeks of my working career lol so I haven't been around much
I've been walking a fine line between being completely stressed out and having enough pressure to work as efficiently as I can
Which has resulted in some outburts here and there lol
 
@ballBreaker who'd you hit?
 
8:11 PM
Nobody yet haha
I'm on the downswing of the stress at least
Worked 20+ hours this weekend though
Haven't had a chance to fuckin' breathe
 
 
1 hour later…
9:19 PM
1
Q: How to put the text labels (keys) to the left of the lines in the legend?

viivI searched in many places and didn't find a way to do what I would like to achieve using MATLAB which is this: putting the keys (text labels) to the left of the color lines in the legend in MATLAB. I would like to achieve this result that is the default result using gnuplot for instance (cf li...

Cool question from a first-timer
 
9:32 PM
yup, +1
 
I never noticed it was always on the right consciously. I hardly cared though. Why do people want this? Institution standards or something?
 
possible
or just left-handedness+OCD
:P
 
9:48 PM
Don't worry, @Suever is on it! Expect a full-blown hack within the hour
I'm not waiting on that though, I'm off to bed
 
just wrote one
The Man is back:P
 
13.7k already X.X
 
I'm sorry to say I have to upvote that one
 
So did I. 13.8k it is
@Suever will you mention us, poor peasants of the MATLAB and Octave room, in your upcoming 100k parade?
 
lol:D
Those twats without whom I would've reached 100k *months ago*, but they kept holding me back
@beaker I don't know if you're still pingable:
in MATL on The Stack Exchange Network Chat, 8 hours ago, by Fatalize
@beaker Brachylog is indeed a Prolog code-golf language created by me, ping me in the nineteenth byte or the brachylog room if you want to know more
 
9:58 PM
@AndrasDeak yeah, I saw that, thanks :D
 
no prob:)
 
10:37 PM
@Suever - there's a lot of fun to be had with Legends:
%% Exploring.....
mc = metaclass(L);
pl = {mc.PropertyList.Name}.';
ml = {mc.MethodList.Name}.';
:)
 
10:47 PM
any love for hg1?:)
 
11:05 PM
I got this:
All I need is upsidedowntext.com
 
11:16 PM
wow, funky
 
All I need now is to rotate the entire legend by 180deg and it's all good :)
 
well that gold legend is a bit fishy to me:)
 
11:38 PM
@AndrasDeak nailed it!
 
still not seeing it:D
oh, you mean swap afterwards, good idea:P
how does it look after that?
 
yeah :)
posting it as we speak
 
I'm cautious about that goldie...
 
Dunno, rotate your head and see
or rotate in some photo editor :)
 
:D
I wanted to spare myself that work:P
 

« first day (321 days earlier)      last day (2911 days later) »