photo

Philip


Last seen: 7 months ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • Thankful Level 3
  • First Answer
  • Solver

View badges

Feeds

View by

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

6 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('...

6 years ago | 1 answer | 0

1

answer

Submitted


Vasicek
Illustrates various methods to calculate bond prices under Vasicek model.

8 years ago | 6 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

answer

Question


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

9 years ago | 3 answers | 8

3

answers

Question


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

9 years ago | 1 answer | 0

1

answer

Solved


Add two numbers
Add two numbers (For beginners)

9 years ago

Question


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

9 years ago | 2 answers | 0

2

answers

Question


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

9 years ago | 1 answer | 2

1

answer

Question


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

9 years ago | 0 answers | 0

0

answers

Submitted


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

9 years ago | 3 downloads |

Answered
Fast interp1 with 'spline'
griddedInterpolant is a lot faster than interp1, interp2, etc. routines.

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

9 years ago | 0 answers | 0

0

answers

Solved


Add two numbers
Given a and b, return the sum a+b in c.

10 years ago

Solved


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

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

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

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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 3 answers | 3

3

answers

Answered
Run mex on AWS cluster?
Great, thanks!

10 years ago | 0

Question


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

10 years ago | 2 answers | 1

2

answers

Question


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

10 years ago | 2 answers | 0

2

answers

Submitted


3D Linear Interpolation for GPU
3D Linear Interpolation for GPU

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

10 years ago | 2 answers | 1

2

answers

Submitted


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

13 years ago | 2 downloads |