
Daniel Shub
Statistics
RANK
49
of 258.291
REPUTATION
3.408
CONTRIBUTIONS
19 Questions
123 Answers
ANSWER ACCEPTANCE
47.37%
VOTES RECEIVED
474
RANK
of 17.801
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 110.413
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Good programming practice...
Come to Answers before using global or eval. There is almost always a better way to do it. http://matlab.wikia.com/wiki/FAQ#Why...
meer dan 3 jaar ago | 3
Activating on Linux without eth0
I asked a related question over at <http://unix.stackexchange.com/questions/74039/creating-eth0-with-consistent-network-device-n...
bijna 6 jaar ago | 3
| accepted
Question
Hardware based OpenGL on Linux
I am unable to get hardware based OpenGL since the change to HG2 (i.e., R2014b and R2015a) on Linux. Prior to that, I can use ha...
meer dan 6 jaar ago | 3 answers | 0
3
answersQuestion
Why should I stay?
This may be a rant or a parting message, but I think it really is a question: Why should I continue to participate in MATLAB ans...
meer dan 8 jaar ago | 9 answers | 14
9
answersDoes someone know how to print a square onto the command window using for loops????
I am not sure why you want to use a loop or fprintf. The simplest, but potentially not square enough solution for a filled squar...
meer dan 8 jaar ago | 2
Print Latex/Greek-Chars to Commandline
Yes and no. The commandline does not have a LaTeX interpreter so so you cannot pass it LaTeX code. The commandline does handle H...
bijna 9 jaar ago | 1
Repeat Try/Catch loop?
You could do something like function varargout = myfunc(varargin) try thingThatSometimesCrashes; catch ...
bijna 9 jaar ago | 3
automatic Matlab to run each 10 min
You could do while true myfunc; pause(10*60); end
bijna 9 jaar ago | 1
Question
MATLAB .deb or .rpm based installer
I am curious why there is no .deb or .rpm based installer for MATLAB. It seems the way TMW handles the software downloads it wou...
bijna 9 jaar ago | 0 answers | 2
0
answersset latters in a string to different fontsizes with interpreter latex
Presumably by "doesn't work" you mean there is not a difference in the font size. The reason there is no difference in the font ...
bijna 9 jaar ago | 5
| accepted
Using regexp to capture parts of a filename
Depending on how structured your file names are, it might be easier to skip the regexp part. file = 'Exp000_DD2CM000_PN0...
bijna 9 jaar ago | 0
create a new array without nan
Starting with some dummy data x = [[randn(10, 2), nan(10, 6)]; [randn(10, 2), randn(10, 6)]]; x = x(randperm(length(x)),...
bijna 9 jaar ago | 2
Question
Activating on Linux without eth0
I have an activation question. I have asked technical support, but I thought I would ask here. I thought this would be desirable...
ongeveer 9 jaar ago | 2 answers | 0
2
answersHow can I get fprintf to show plus sign in front of positive numbers ?
So close ... You want %+4.2f fprintf('%+4.2f%+4.2fX1%+4.2fX2%+4.2fX1^2%+4.2fX1X2%+4.2fX2^2\n\n',a1 ,a2 ,a3 ,a4 ,a5 ,a6)
ongeveer 9 jaar ago | 6
| accepted
Question
Timers: possible bug/documentation error
A few years ago I asked this <http://www.mathworks.com/matlabcentral/answers/21537-what-thread-do-timers-operate-in question> ab...
ongeveer 9 jaar ago | 1 answer | 2
1
answerGlobal variables and multiple licenses of Matlab
Each instance of MATLAB is completely independent. Things like global variables are local to the instance of MATLAB that created...
ongeveer 9 jaar ago | 1
| accepted
HOW can i restart ML?
You may want to look at: http://www.mathworks.com/matlabcentral/answers/1093-how-do-i-reset-matlab-to-its-launched-state or s...
ongeveer 9 jaar ago | 0
putting a ' in a title
You were so close, you need an extra ' title(' U'' squared ')
meer dan 9 jaar ago | 7
| accepted
Warning: Unable to interpret TeX string
It is very possible that I have screwed up my systems LaTeX processing (I have been playing with it recently). For example, on m...
meer dan 9 jaar ago | 5
How to change text size in boxplot
I can think of two ugly hacks that work ... The first is to set the default font size of all text labels for the plot h ...
meer dan 9 jaar ago | 1
| accepted
Prevent MATLAB from displaying full stack on error.
I think with careful use of try/catch and |throwascaller| you can achieve this. Just be careful since it makes debugging very di...
meer dan 9 jaar ago | 5
Input Vector Graphics into Matlab
You can definitely import an EPS file (and any other vector graphic that is saved as plain text) by simply reading in the text f...
meer dan 9 jaar ago | 1
Professional looking Matlab FAQ
# I would suggest that this be left up to TMW since they have professional documentation writers. Answering these types of quest...
meer dan 9 jaar ago | 2
subsref overload has fewer outputs than expected on cell attribute
I am not following everything ... The two commands |instance.some_cell| and |instance.some_cell{:}| mean different things. See a...
meer dan 9 jaar ago | 0
adding space before capital letters in variable names
You can use REGEXPREP. To just add a space before every uppercase letter regexprep('varNameOne', '([A-Z])', ' $1') To ad...
meer dan 9 jaar ago | 1
Sorting variable names in alphabetical order
Assuming you mean the variable editor and not the workspace window, I think this is a possible bug. There seems to me no good re...
meer dan 9 jaar ago | 1
Question
Floating point accurarcy and COLON
I have just been bitten by an odd floating point comparison issue. At the heart of the issue is that I expected to get true for ...
meer dan 9 jaar ago | 1 answer | 4
1
answerclose a message box thru coding
You could do something like h = msgbox('please wait'); n = 0; while rand > 1e-9; n = n+1; end; delete(h); Where...
meer dan 9 jaar ago | 2
| accepted
Why 'str2double' is preferred over 'str2num?
In this case I think it is best to actually look at the code of the two functions type str2num type str2double One pr...
meer dan 9 jaar ago | 8
Static vs Object Method Performance Considerations
Dave Foti who manages the OOP group at TMW has a post on <http://blogs.mathworks.com/loren/2012/03/26/considering-performance-in...
meer dan 9 jaar ago | 1