# Daniel Shub

Followers: 0 Following: 0

**Feeds**

已回答

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

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

6 years 前 | 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...

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

8 years 前 | 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...

9 years 前 | 3 个回答 | 0

### 3

个回答提问

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

9 years 前 | 1 个回答 | 0

### 1

个回答提问

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

10 years 前 | 0 个回答 | 0

### 0

个回答已回答

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

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

10 years 前 | 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...

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

10 years 前 | 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...

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

10 years 前 | 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...

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

10 years 前 | 0

提问

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

10 years 前 | 2 个回答 | 0

### 2

个回答已回答

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

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

10 years 前 | 0

| 已接受

提问

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

11 years 前 | 1 个回答 | 0

### 1

个回答已回答

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

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

11 years 前 | 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 ...

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

11 years 前 | 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. ...

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

11 years 前 | 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...

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

11 years 前 | 0

| 已接受

已回答

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

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

11 years 前 | 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...

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

11 years 前 | 0

| 已接受

已回答

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

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

11 years 前 | 0

| 已接受

已回答

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

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

11 years 前 | 0

提问

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

11 years 前 | 3 个回答 | 1

### 3

个回答已回答

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

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

11 years 前 | 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

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

11 years 前 | 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...

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

11 years 前 | 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...

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

11 years 前 | 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...

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

11 years 前 | 1

| 已接受

已回答

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

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

11 years 前 | 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...

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

11 years 前 | 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...

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

11 years 前 | 0

已回答

How to disable beep (beep off does not work)?

I believe BEEP OFF turns off the beep when there is an error. Partial parenthesis are not an error (although if you run code wit...

How to disable beep (beep off does not work)?

I believe BEEP OFF turns off the beep when there is an error. Partial parenthesis are not an error (although if you run code wit...

11 years 前 | 0