**Statistics**

RANK**2,955**

of 284,888

REPUTATION**18**

CONTRIBUTIONS

**14** Questions

**3** Answers

ANSWER ACCEPTANCE **
64.29%
**

VOTES RECEIVED**17**

RANK**5,089** of 19,247

REPUTATION**244**

AVERAGE RATING**4.30**

CONTRIBUTIONS**4** Files

DOWNLOADS **14**

ALL TIME DOWNLOADS**2240**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Save Excel worksheet as csv Using com Object

Apparently 'xlCSV' just stands for '6', which Excel interprets as saving as CSV format. So if I do: SaveAs(eSheet1,'C:\myfi...

5 years ago | 1

| accepted

Question

Save Excel worksheet as csv Using com Object

I'm trying to save an Excel worksheet as a CSV. Here's my code: % Connect Matlab to Excel e = actxGetRunningServer('...

5 years ago | 1 answer | 0

### 1

answerSubmitted

Vasicek

Illustrates various methods to calculate bond prices under Vasicek model.

7 years ago | 10 downloads |

Question

How to edit compiler options with codegen?

I am compiling at matlab function into a mex using codegen. I'd like to edit the compiler flags (specifically the optimization o...

8 years ago | 1 answer | 1

### 1

answerQuestion

How do I change font size for Live Scripts?

The option to change the font size for the new "Live Scripts" is not in preferences where you can change all the other font size...

8 years ago | 3 answers | 8

### 3

answersQuestion

Factor symbolic expression involving exp()

I have a symbolic function exp(a+b), and would like to factor out A=exp(a) to produce exp(a+b) = A*exp(b), but I cannot figure o...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to pass a matrix back using arrayfun?

I have a function that performs a lot of element wise operations and returns numerous output. An example is A = myfun(B) w...

8 years ago | 2 answers | 0

### 2

answersQuestion

MATLAB's R2015b new JIT experiences a severe degradation in speed in the following example, but the documentation says it was significantly improved. Why would the following simple code run so much slower?

When I run the following code: I = 1000; J = 1000; K = 1000; A = rand(I,K); B = rand(K,J); C = zero...

8 years ago | 1 answer | 2

### 1

answerQuestion

How to use nvblas on Windows?

I would like to use Nvidia's nvblas library to automatically offload level 3 BLAS routines to GPUs. However, I cannot figure out...

8 years ago | 0 answers | 0

### 0

answersSubmitted

Update MATLAB's MKL

This basic text file will update MATLAB 2014b's MKL from version 11.1.1 to 11.3.1

8 years ago | 2 downloads |

Fast interp1 with 'spline'

griddedInterpolant is a lot faster than interp1, interp2, etc. routines.

8 years ago | 0

Question

How to interpolate partially gridded intput?

If you had a griddedInterpolant defined by two vectors of coordinates: x = [1:10]'; % x coordinates y = [10:...

8 years ago | 0 answers | 0

### 0

answersSolved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago

Question

How to use multiple GPUs asynchronously

I have two GPUs connected to my computer. I've explored on Mathworks, but can't find an easy way to use both GPUs in my code (th...

9 years ago | 1 answer | 0

### 1

answerQuestion

Minimize MDCS Data Transfer

I am using MDCS on a Linux cluster. I repeatedly for a parfor loop in the following spirit: while parfor i=1:n ...

9 years ago | 1 answer | 0

### 1

answerQuestion

MATLAB crashes when I try to plot.

I upgraded to 2014b, and now MATLAB crashes whenever I try to plot. Any advice? I can't even use the opengl command, as that cau...

9 years ago | 3 answers | 3

### 3

answersQuestion

Run mex on AWS cluster?

Is it possible to run a mex function on an AWS cluster via MDCS? I use Windows 7 on my PC. Is it correct that I would need to co...

9 years ago | 2 answers | 1

### 2

answersQuestion

Intel® Parallel Studio XE 2015 for Fortran

I would like to use Intel Visual Fortran Composer XE 2015 for Fortran along with Microsoft Visual Studio 2013 Professional to co...

9 years ago | 2 answers | 0

### 2

answersSubmitted

3D Linear Interpolation for GPU

3D Linear Interpolation for GPU

9 years ago | 2 downloads |

Question

How to make my GPU interpolation code faster?

I am doing a lot of linear interpolation for a project. MATLAB's griddedInterpolant function for the CPU is fast, and their over...

9 years ago | 2 answers | 1

### 2

answersSubmitted

parsave

This function allows you to save variables inside a parfor loop.

12 years ago | 5 downloads |