Community Profile

photo

Daniel Shub


97 2011 이후 총 참여 횟수

Daniel Shub's 배지

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Wish-list for MATLAB Answer sections.
That before/when the magic editor powers kick in (edit and delete buttons showing up everywhere) that an email is sent to the ed...

8달 전 | 0

답변 있음
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...

약 1년 전 | 3

답변 있음
delete element from vector
I can think of three ways that are all slightly different a=[1,2,3,4,5]; If you want to get rid of all cases where |a| i...

약 1년 전 | 52

| 수락됨

답변 있음
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...

3년 이상 전 | 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...

4년 이상 전 | 답변 수: 1 | 0

1

답변

질문


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

약 6년 전 | 답변 수: 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...

약 6년 전 | 2

답변 있음
automatic Matlab to run each 10 min
You could do while true myfunc; pause(10*60); end

6년 이상 전 | 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...

6년 이상 전 | 답변 수: 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 ...

6년 이상 전 | 4

| 수락됨

답변 있음
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...

6년 이상 전 | 0

질문


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

6년 이상 전 | 답변 수: 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)

6년 이상 전 | 3

| 수락됨

질문


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

7년 이하 전 | 답변 수: 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...

7년 이하 전 | 1

| 수락됨

답변 있음
putting a ' in a title
You were so close, you need an extra ' title(' U'' squared ')

7년 이하 전 | 1

답변 있음
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...

7년 이하 전 | 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 ...

7년 이하 전 | 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...

7년 이하 전 | 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...

7년 이하 전 | 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...

7년 이하 전 | 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...

7년 이하 전 | 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...

약 7년 전 | 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 ...

약 7년 전 | 답변 수: 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...

약 7년 전 | 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...

약 7년 전 | 6

답변 있음
Clearing Global variables... except for.
To remove the variables locally clear(globals{:}) to remove them globally clear('global', var{:}) You should also...

약 7년 전 | 2

답변 있음
Pass variable by reference to function
While I think IA's answer is the better way to do it. If you really want to do what you are talking about you can create a subcl...

약 7년 전 | 5

| 수락됨

답변 있음
looking for an efficient way to activate all fprintf in the function
If you are using a function, you can overload fprintf with a nested function. function myfunction(debug) fprintf('first...

약 7년 전 | 3

| 수락됨

답변 있음
sum every 24 rows in a vector
I am not sure what all the code you posted has to do with anything ... If I have a 8760x1 array x = randn(8760, 1); I...

약 7년 전 | 2

Load more