« first day (628 days earlier)      last day (2603 days later) » 

10:29 AM
Can you guys open the following page from the MATLAB documentation w/o it glitching?
https://www.mathworks.com/help/matlab/matlab_oop/overloading-functions-for-your-class.html#brdqi89-3
On my firefox, it gets redirected to the address overload:
 
11:07 AM
Address overload?
I get a good link I think
links to the section: Implementing MATLAB Operators
Im using Chrome
 
11:33 AM
Yeah, I also have no problem in chrome
 
 
2 hours later…
1:20 PM
@Dev-iL same here
 
1:59 PM
There has to be a canonical for this somewhere
0
Q: MatLab Formatting to 8 decimal places not working

Displayalice_accel = readFile('Alice_Accel.txt') bob_accel = readFile('Bob_Accel.txt') % ======================== Functions =========================== % % File reader routine. Takes parameter as file name. function reader = readFile( name ) fid = fopen( name ); % Formatted file as: x, y, z <

 
@excaza all three comments on that basically say the same
 
trashy the trash can is gone :(
 
You trashed me as well :(
 
well it's all related to my bad code :)
 
2:14 PM
friendly bin lol
 
> Because you are using very large arrays, maybe a sparse matrix may be appropriate for you.
that's...not what a sparse matrix is for
 
 
2 hours later…
3:57 PM
Happy Equinox, everybody :)
 
thank you
 
 
2 hours later…
6:25 PM
posted on March 20, 2017 by Cleve Moler

A binary tree is an elegant way to represent and process Morse code. The new MATLAB graph object provides an elegant way to manipulate binary trees. A new app, morse_tree, based on this approach, is now available in version 2.40 of Cleve's Laboratory.... read more >>

 
6:55 PM
@Feeds Very clever. You think I should tell him he can also use bin2dec to get the index from the morse code?
 
7:48 PM
in SO Close Vote Reviewers, 3 mins ago, by Nick Alexeev
Folks, would this question about Matlab be on-topic for StackOverflow? The EE.SE folks are in the middle of close voting it. I can migrate it.
 
8:17 PM
@PetterFriberg too shitty to migrate in my opinion
1. how do I do Fourier analysis with matlab?
2. how do I plot stuff (in 3d) with matlab?
 
8:30 PM
@AndrasDeak Thanks, Yeah Adriaan and excaza stop it, I hope.
 
9:12 PM
-1
A: Combine multiple structures into one

Mayela ZamoraI would do it with an eval names = who('B0000*'); C = []; for x=1:length(names) eval(['C = [ C ' names{x} '];']) end

kill it with fire!
 
@excaza Ugh
 
my tag score is exactly eval/2 right now
 
9:29 PM
11
A: How to put these images together?

AdriaanDynamic variables Note that whilst this is possible, it's considered to be bad programming (see for instance here, or this blog by Loren and even the Mathworks in their documentation tell you not to do this). It would be much better to load your images directly into either a 3D array or a cell s...

Why u no link there? (Loren's blog is linked there as well btb)
need more votes
@PetterFriberg fancy seeing you here :P
 
Assuming that this is only going to be done only once, the use of eval is straightforward. — Mayela Zamora 1 min ago
 
It is, as is driving your car of a cliff. When something is straightforward it doesn't automatically mean that it's the best way to handle a situation. Read the blog by a MATLAB engineer @Suever linked, additionally this answer might be of insight as to why it's best to avoid eval whenever possible. — Adriaan 6 secs ago
3
 
I like to live dangerously. I also use goto sometimes.
 
postdoc at Oxford, poor lass
 
yeah
all those...
uh, commas
sad
 
EBH
9:48 PM
@gnovice I had to...
The older is 5.5, and the younger is 2.5
 
@excaza self-delete now
 
that's a badge
 
@EBH Cute! More female programmers! ;)
 
EBH
@gnovice Or ecologists...
 
@AndrasDeak I never managed to get that one :(
 
9:55 PM
me neither
 
EBH
@Adriaan All it takes is writing some really bad answer...
 
sucks to be flawless
2
 
@EBH I'm too great for that :(
 
> sucks to be flawrless
FTFY
 
that too:P
 
10:01 PM
@LuisMendo no GOTO?
We should start thining about renaming this room to MATLAB-KINDERGARTEN
@Adriaan Can we nest eval's?
 
@flawr yes
 
yay=)
I have to think of something evil with nested eval's to confuse my students...
 
add in a str2num just to throw them off
 
and recursive anonymous functions...
 
EBH
Does anyone here has a clue how can I ran a little BASIC program on my computer?
 
10:14 PM
there's probably a basic interpreter on ideone.com
haha... nice... calormen.com/jsbasic
 
Awww BASIC :)
 
EBH
I got some ancient device with a data logger that I need to connect to my computer
 
aaaah
 
EBH
@beaker seem like there are some unknown operators in this code, it refuses to run
Here is it:
5 INPUT "NAME OF DATE FILE";DF$
10 OPEN"COM1:1200,,,,CS,DS,CD" AS 1
20 OPEN DF$ FOR OUTPUT AS 2
40 T$ = INPUT$(1,#1)
45 ON ERROR GOTO 85
50 IF T$ = CHR$(127) THEN T$ = CHR$(63)
60 PRINT T$;
70 PRINT #2,T$;
80 GOTO 40
85 RESUME
 
Is it possible to GOTO a line number that is stored in a variable?
 
10:21 PM
having trouble opening the com port?
 
EBH
if you have any clue how to write it in a decent language that would be even better
@beaker I don't know, and can't check it right now, but I'll try it again when I'll have the device connected, and see if I am getting somewhere.
 
EBH
oh, and @beaker tnx for the link
 
@EBH yeah, applesoft basic doesn't know com ports, so that's not gonna work
 
EBH
@beaker I guessed so
but that's may be a start
 
10:46 PM
@Adriaan took me way to long to notice that this is not about cleaning clothes
 
@flawr :P
I'm out for the night. See you lads
 
cu
 
11:37 PM
@flawr If you want something really ugly, use inputname
I find it distressing that a function can now the name of the variables with which it was called. In a way, that goes agains the concept of function
Whoops, I clicked something and it may have created a "room for flawr and Luis Mendo". Sorry if it did
@flawr Your students? I thought you were a student...?
 

« first day (628 days earlier)      last day (2603 days later) »