Community Profile

photo

Daniel Shub


Last seen: 1日 前 2011 以来アクティブ

Statistics

  • First Review
  • 24 Month Streak
  • Thankful Level 3
  • Guiding Light
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer

バッジを表示

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...

約3年 前 | 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...

5年以上 前 | 3

| 採用済み

質問


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...

6年以上 前 | 3 件の回答 | 0

3

回答

質問


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...

約8年 前 | 9 件の回答 | 14

9

回答

回答済み
Does 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...

8年以上 前 | 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...

8年以上 前 | 1

回答済み
Repeat Try/Catch loop?
You could do something like function varargout = myfunc(varargin) try thingThatSometimesCrashes; catch ...

8年以上 前 | 3

回答済み
automatic Matlab to run each 10 min
You could do while true myfunc; pause(10*60); end

8年以上 前 | 1

質問


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...

8年以上 前 | 0 件の回答 | 2

0

回答

回答済み
set 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 ...

8年以上 前 | 5

| 採用済み

回答済み
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...

8年以上 前 | 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)),...

8年以上 前 | 2

質問


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...

8年以上 前 | 2 件の回答 | 0

2

回答

回答済み
How 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)

9年弱 前 | 6

| 採用済み

質問


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...

9年弱 前 | 1 件の回答 | 2

1

回答

回答済み
Global 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...

9年弱 前 | 1

| 採用済み

回答済み
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...

9年弱 前 | 0

回答済み
putting a ' in a title
You were so close, you need an extra ' title(' U'' squared ')

9年弱 前 | 6

回答済み
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...

9年弱 前 | 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 ...

約9年 前 | 1

| 採用済み

回答済み
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...

約9年 前 | 4

回答済み
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...

約9年 前 | 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...

約9年 前 | 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...

約9年 前 | 0

回答済み
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...

約9年 前 | 1

質問


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 ...

約9年 前 | 1 件の回答 | 2

1

回答

回答済み
close 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...

約9年 前 | 2

| 採用済み

回答済み
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...

約9年 前 | 7

回答済み
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...

9年以上 前 | 1

回答済み
Clearing Global variables... except for.
To remove the variables locally clear(globals{:}) to remove them globally clear('global', var{:}) You should also...

9年以上 前 | 2

もっと読み込む