# Daniel Shub

**Statistics**

RANK**51**

of 284 856

REPUTATION**3 487**

CONTRIBUTIONS

**62** Questions

**1 272** Answers

ANSWER ACCEPTANCE **
41.94%
**

VOTES RECEIVED**971**

RANK

of 19 243

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 137 676

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

ungefär 5 år 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...

mer än 7 år 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...

mer än 8 år ago | 3 answers | 0

### 3

answersQuestion

What happened to the errorbar function in R2014b?

As far as I can tell both the |ERRORBAR| function and its documentation are identical in R2014a and R2014b. The beahviour, howev...

nästan 9 år ago | 1 answer | 0

### 1

answerQuestion

R2014b Linux DVD ISO checksum

According to this <http://uk.mathworks.com/matlabcentral/answers/131366#answer_138485 answer>, the MD5 checksums for the DVD iso...

nästan 9 år ago | 0 answers | 0

### 0

answersHow do I use matlab on two computers and load files (located in different file locations) in my script?

There are lots of ways to tackle this problem. From the OS level, if you are not using Windows, you can create mount points and ...

mer än 9 år ago | 0

Status for forum members: who would use/care for it?

Editors have access to a private email list provided by TMW. It is currently super low volume, but we could communicate absences...

mer än 9 år ago | 0

What is changing in R2014b?

I received an email from TMW, which I think borders on spam, about some of the new functionality in R2014b. As I have not downlo...

mer än 9 år ago | 1

Bug in matlab R2012b version

The colon operator in MATLAB with non-integers is a tricky beast. Not only do you need to worry about round off errors associate...

mer än 9 år ago | 0

Question

Bug in xlsread on linux

I am trying to read an XLSX file with xlsread on Linux, but I get an error >> xlsread('test.xlsx', 'MySheet', 'A:A') Err...

mer än 9 år ago | 2 answers | 0

### 2

answerswhats the meaning of this statement average = sum ( sum ( x(:,:) ) ) / n / n; ?

The meaning of the statement average = sum ( sum ( x(:,:) ) ) / n / n; is that whoever wrote the code knows very little ...

nästan 10 år ago | 0

| accepted

Question

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

nästan 10 år ago | 9 answers | 14

### 9

answersQuestion

What functions have you learned about from Answers

I just learned about the |CELLDISP| function from an <http://www.mathworks.com/matlabcentral/answers/104272#answer_113604 IA ans...

ungefär 10 år ago | 1 answer | 0

### 1

answerIs using a try/catch around gui_mainfcn a bad idea?

Depending on how you implement your GUI this may not catch all errors. Callbacks run in a weird context. Consider the following ...

ungefär 10 år ago | 0

How to overload only "(" in subasgn?

I don't have access to MATLAB right now, so an untested solution should be to call the builtin method and not the handle method ...

ungefär 10 år ago | 1

Need help: Script working in 2012b but not 2013b???

The above code will not work in ANY version of MATLAB because if true function solve_bernoulli ... is not valid. ...

ungefär 10 år ago | 1

One figure instead of 100 and scroll.

I am not sure what you mean by a "stack" of CT images. If you mean a 3D reconstruction, then maybe <http://www.mathworks.com/mat...

ungefär 10 år ago | 0

| accepted

Using Matlab Fmincon as a substitute for Excel solver tool

My guess is your objective function is not valid % Objective function m file: function f = objectivefunction3(x) f = ...

ungefär 10 år ago | 0

Using findjobj in R2013a

I did a little profiling and found the problem. The |findobj| function calls home to the FEX and checks for a newer version in t...

ungefär 10 år ago | 0

| accepted

Is it possible to execute .m file by MCR in Ubuntu

No. You cannot create a Linux executable from a Windows machine. In order to create an executable you need a full installation o...

ungefär 10 år ago | 0

| accepted

Latex Support to publish in html format

This is in essence a duplicate of http://www.mathworks.co.uk/matlabcentral/answers/86824-which-latex-characters-does-2013a-suppo...

ungefär 10 år ago | 0

Question

Using findjobj in R2013a

I am trying to use Yair's <http://www.mathworks.com/matlabcentral/fileexchange/14317 FEX:findjobj> in R2013a on Linux to basical...

ungefär 10 år ago | 3 answers | 1

### 3

answersDisplaying the necessary error alone

It really depends on what you are trying to do. I think you are probably looking for: http://www.mathworks.com/matlabcentral/ans...

ungefär 10 år ago | 0

Cannot install Matlab R2012a student version on new Macbook Pro

http://www.mathworks.co.uk/support/solutions/en/data/1-IXBVKD/ It looks like there are issues with R2012a and OSX 10.8

ungefär 10 år ago | 0

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

ungefär 10 år ago | 2

How to create Gauss noise within the interval

What you are looking for is typically called a Truncated Gaussian. There is a highly rated <http://www.mathworks.co.uk/matlabcen...

ungefär 10 år ago | 2

Which Latex Characters does 2013A support : Warning: Unable to interpret LaTeX string

The MATLAB LaTeX interpreter is a fully functional LaTeX system. It is based on the article class so all of those macros are ava...

ungefär 10 år ago | 1

| accepted

What is the amplitude unit when we plot wav. files?

Wav files come in two varieties. The first has a range -1 to 1 and the second has the range 0 to 255. For the first 20*log10(x) ...

mer än 10 år ago | 0

indexing cell array of arrays

It is not clear why you have a cell array with each element having Nx1 data, but if all the Nx1 arrays are the same type you can...

mer än 10 år ago | 0

Figure origin incorrectly set

A few years ago TMW did not officially support multiple monitors. I have never read anything to suggest that anything has change...

mer än 10 år ago | 0