« first day (632 days earlier)      last day (2601 days later) » 

6:13 AM
Ah, omniscience unlocked!
 
 
5 hours later…
Joe
11:20 AM
Hi can I open a set file in matlab?
 
11:43 AM
Is there a file you cannot open in matlab?
 
Joe
ofcouse ther is
many like word file
 
You can in fact open word files.
 
11:59 AM
Am I wrong here? OP thinks that this Q is on-topic, read my second comment as reply to that
 
Joe
@flawr is there any way to do signal seperation for a matrix of 1*1 ... the matrix 1*1 is calculated or made from two different sources?
I found on internet that we have to have a matrix of n*n to do ica or pca signalseperation
the matrix iam talking about is made from two sources of differnet frequencies (1MHz and 900 kHz) ... can I seperate the numbers of the 1 Mhz and the numbers of 900 kHz in two vectors for each one?
 
How exactly is this matrix generated?
And how exactly are those frequencies represented in the first place?
 
Joe
from a generator and then plot it in oscilloscope and then I save data in a flash and then I can use matlab to look at the data
 
what does the "data" look like?
 
Joe
the frequencies are controlled by the generator ,, I have two channels in the generator and each channel is connected to a transmitter
I have two colums first colum is the time and second colum is the voltage
 
12:10 PM
and the voltage represents the sum of the two signals?
 
Joe
I want to have the voltage from the 1Mhz transmitter (transducer) to be seperated from the 900 kHz
mixed
I do not thing it is sum
 
what is it then, how are those signals "mixed"?
 
Joe
I have one reciever to collact data from the two transmitters
ok you are right
it is sum
 
Then you probably just want to do a fourier transform on the voltage
a pca is probably not gonna help
 
Joe
I guess that oscilloscope is summing the two vaules from each transducer and then plot them
fourer ok
do you mean like this
Y = fft(X) there X is the voltage matrix 1*1 or vector
 
12:14 PM
X should be the vector of voltages
yes
 
Joe
yes man the vector of voltage that is it
is that all?
 
that only works if the sampling is done on a constant time interval
 
Joe
you mean between each oscillation
 
no between each data point, i.e. between each measure ment of voltage
 
Joe
delta time is same in all
 
12:16 PM
then everything is fine
 
Joe
ok
I thing that oscilloscope does that always that it is constant time interval ,, is not it??
 
Probably
you can check whether plot(t) where t is the vector of the time stamps is a straight line
 
Joe
you are cleaver man
good point
:)
 
@Joe who are we cleaving?!?
 
Joe
it is linear :) you are king
I mean clever
@Adriaan
I can not edit it
why?
 
12:21 PM
You can edit messages for one minute only iirc
 
Joe
ok
 
press the up arrow, and you can see which messages you can still edit, if any
 
Joe
still no
 
Not surprising, as it's past the one minute mark. Don't bother with it, I just thought your misspelling funny :p
 
Joe
:)
 
1:03 PM
posted on March 24, 2017 by Jiro Doke

Jiro‘s pick this week is the MATLAB and Simulink Mobile Devices Challenge. As some of you may know, MathWorks has hosted a number of MATLAB and Simulink Student Challenges over the years. Well, another one just started recently. This time, the challenge incorporates connecting MATLAB and Simulink to mobile devices, such... read more >>

 
user image
2
 
!?!?!?!?!
 
why did th response arrow go away???
56 mins ago, by Joe
you are cleaver man
 
hahahahaha
 
1:38 PM
Thanks @excaza. I understand your point, but i am just wondering(and hoping) if there could be a way to work around the problem. — User1772 11 hours ago
:|
I thought I was king :'(
 
Joe
hahaha
you both are kings actully all here are kings :)
very nice room :)
 
2:26 PM
@ballBreaker you like Gorillaz?
 
oh is this new?!
niiiiice
 
and 3D!
there are 4 new songs in their youtube chanel
 
not sure how I feel about this one
 
Every new Gorillaz album/song:

me: I hate this shit, this is not Gorillaz, fuck this.
<insert 1 to 6 months here>
me: OOOOoooOOOOooooOOOO this is amazing!
 
2:50 PM
I'm getting tired of people using tic/toc for benchmarking...ugh
 
I do use it :P
Nah, not for benchmark
 
"So for large matrices, repmat and bsxfun are comparable with repmat edging it."
leads to bad conclusions
 
It's dubious to use something 5 decimal places in as "edging" anyway
 
haha
 
1x1000 is not big
 
2:55 PM
BIG DATA
look out
 
if something takes less thanmiliseconds its NOT big
Talking about timing..... I have mega optimized my CUDA code, I can update a 512^3 volume with a tomography projection in 4ms. I still SUCK comparing to the best code out there. People are x100 times faster than me
HOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWW
It's frustrating
The dude who wrote it sent me an email "your code is neat"
Yeah, bruh, but yours is 100x faster D: D: D:
 
Style counts for a factor of 1000 in my book
I prefer legible and damn fast to illegible and somewhat damn faster
 
Hahaha not in tomography though. Some volumes take now 3~6 hours with my code
 
I prefer to use that as time that I'm "working"
 
Haha yeah I guess.... Still :(
 
3:01 PM
I guess with CUDA stuff it could be one little tweak that could result in that type of performance improvement
 
Some yeah, but not 100x. They must be doing some complete remodeling of kernels tructure
Code is not public though, only benchmark
 
3:33 PM
@AnderBiguri got a lot of free time, that counts as a plus too:)
 
4:29 PM
@Suever how close are you to illuminator?
 
@Adriaan Only like 352/500
 
@Suever 132/500 here :(
I suck at answering questions
 
@suever didn't you just do this?
oh, I guess it's different
 
@excaza Yes, and he already commented
 
4:53 PM
@excaza Yea it's the inverse
And it's actually a harder problem
Thanks to floating point issues
 
Solliciting eh @Suever? ^
 
This is bizarre
1
Q: Matlab GUI programmatically -> Slider disappears

thomasI try to make a matlab GUI programmatically and face the problem that my slider disappears after using it. I isolated the problem to keep the code short. In this GUI i want to refresh the plotmatrix each time the slider is used (ignore the fact that the value of the slider is completely irrelevan...

hold works, but I have no idea why
it's an axis property...
 
@excaza Only thing I can think of is that plotmatrix checks the hold status of the axes to determine whether to operate in "aggressive" mode or not
 
nvm
it uses newplot
so hold on sets the NextPlot property to add, and newplot will not clear any graphics objects
what a weird function
 
I had no idea newplot was a thing
I feel like there are way too many crappy abstractions in MATLAB's graphics
3
They ultimately provide the user too many ways to change the same thing
 
5:02 PM
I didn't know any of it existed until just now lol
 
5:14 PM
plotmatrix is a total assault on the figure window...
holy cow
 
Ohhh I didn't realize what plotmatrix actually did
I guess it makes sense that it takes control
that being said, they would have been better off creating a uipanel
 
@Suever you know you can just link to this q&a instead of benchmarking yourself... stackoverflow.com/questions/42559922/…
 
apparently hold on also sets the figure property
I guess it inherits from the axes?
but...what if there are two
 
@Dev-iL Oh yea! I forgot about that Q&A
 
EBH even edited it into the wiki for implicit expansion
 
5:24 PM
@excaza Oh that's interesting. I'm guessing that's only if you don't pass an axes explicitly
 
in theory hold on should only work on the current axes
 
@Dev-iL I had to do my own benchmarking because the main point was to show that repmat is crap :)
Well it may be like the colormap behavior in new versions
hold(hax, 'on') always
Or, you know, use line instead of plot
 
f = figure('NextPlot', 'replacechildren');
ax(1) = axes;
ax(2) = axes;

fprintf('NextPlot Status, base:\nFig: %s, Ax(1): %s, Ax 2: %s)\n\n', f.NextPlot, ax(1).NextPlot, ax(2).NextPlot)

hold on
fprintf('NextPlot Status, hold on:\nFig: %s, Ax(1): %s, Ax 2: %s)\n\n', f.NextPlot, ax(1).NextPlot, ax(2).NextPlot)

hold off
fprintf('NextPlot Status, hold off:\nFig: %s, Ax(1): %s, Ax 2: %s)\n', f.NextPlot, ax(1).NextPlot, ax(2).NextPlot)
NextPlot Status, base:
Fig: replacechildren, Ax(1): replace, Ax 2: replace)

NextPlot Status, hold on:
Fig: add, Ax(1): replace, Ax 2: add)

NextPlot Status, hold off:
Fig: add, Ax(1): replace, Ax 2: replace)
wat
 
Ugh
I had no idea that NextPlot was a figure property. Ridiculous
 
I was thinking it may be linked to the current axes
nope
I'm very confused
 
5:40 PM
@Adriaan lol where'd you find this show?
 
well, that ended up being a longer answer than I wanted...
I'm kinda wanting to submit a help ticket to ask them to explain wtf hold is doing
 
@Dev-iL Monkey Dust, British (obviously) comedy series. Friend of mine from Nottingham, ENGLAAAAAAND, sent me this
watched it already years ago
 
@excaza reminds me of one hacky answer... stackoverflow.com/a/40153472/3372061
 
@Adriaan lmao what the fuck
 
why do people put line breaks between every line of code
 
5:49 PM
do you mean like this:
   int x = 69

   int y = 70

   for(x -> y){

        println("lols")

  }
 
yes
 
Yeah I have no idea
I'll do it if it aesthetically looks better
 
is that spelling right.. hmm
'tis
omg
thats painful to look at
 
Because they don't know about {} or Ctrl-K
If they don't do that, their all code will be ended up in a single line
(in my opinion)
 
5:57 PM
I personally use vertical whitespace lots
But tend to use it to group things
PEP8-ish
Basically a blank line before/after all logical blocks
 
6:18 PM
@AnderBiguri ^ (Where's Waldo? :P )
 
rigged!
 
6:47 PM
@suever how much rep have you gotten from that one dude this week?
 
I need to whip out my rep_from_masi script
445 rep off of 8 answers
 
lol
 
That's actually a pretty good points / answer ratio
scores = [4 4 10 3 4 3 5 1]
They have actually been some pretty interesting questions
Just lots of them....
And I have NO clue what they are actually trying to accomplish in life
Very Masi-esque
 
Luxuriant Flowing Hair Club for Scientists™ Woman and Man of the Year 2017!
That dude's beard is real good
> HER WORK: "I work on Viking botany"
of course
 
7:15 PM
@excaza Tried posting another solution using linkdata but it got out of hand :x
 
sigh
@excaza For the sake of legibility (also because of conventions), the function actually looks like this @(A,B,C,D,E,F,lam)sqrt(1+A*lam^2/(lam^2-B)+C*lam^2/(lam^2-D)‌​+E*lam^2/(lam^2-F)) and I would like to apply it to different sets of values for A..F to abtain functions of lam. As the parameters are always called, A..F I wanted to avoid using x(1) etc. @beaker and this is why a vectorization is not so simple here — riddleculous 1 min ago
that anonymous function is the epitome of legible...
 
@excaza all sheep look alike except to the shepherd
 
baaa
 
;)
 
7:32 PM
I really need to make myself a userscript for linking documentation
0
Q: Error using max function in matlab

Sonia SohiI used max function in Matlab. The error is: Error using max Matrix dimensions must agree. Could anyone help me to solve the problem? a(:,row) = max(a(:,row) , cols)

lol
5 views, 3 stars, 2 upvotes
definitely not sockpuppets
the wrapper function is something I'm looking for. So if I understand you right, the answer to my question is "there is not inbuilt function". In the end it would be nicest to have a universal wrapping function to work with all sorts of functions. — riddleculous 9 mins ago
or just...put num2cell on its own line
this seems like a lot of unnecessary effort
one could say a...riddleculous amount of effort
 
wait, no sunglasses?
 
there wasn't a good gif
> The loop I have created looks very complicated, takes a long time to run and I'm not even sure if it's working properly or not as I have no clue how to check.
that's a head scratcher
how can you not tell if something works?
 
8:03 PM
hmm
I wonder if it's worth it to figure out how to finish this
vs just exporting my properties
 
asks for sharepoint access
inadvertently starts an IT argument about security
backs out of the room slowly
 
I wish sharepoint would die
 
Ugh yes
 
8:19 PM
Wow, very nice researched! Thank you for that! Both solutions worked for me (when I put hold around the plotmatrix command or when I set HandleVisibility off). Thx! — thomas 6 mins ago
accepts other answer
(╯°□°)╯︵ ┻━┻)
 
8:52 PM
@Dev-iL :D :D
 
 
2 hours later…
10:54 PM
@Dev-iL: Congrats on joining the 10k club!
 

« first day (632 days earlier)      last day (2601 days later) »