Feeds
답변 있음
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...
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년 전 | 1
| 수락됨
질문
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년 전 | 답변 수: 1 | 0
1
답변제출됨
Vasicek
Illustrates various methods to calculate bond prices under Vasicek model.
8년 초과 전 | 다운로드 수: 1 |
질문
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년 초과 전 | 답변 수: 1 | 1
1
답변질문
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년 초과 전 | 답변 수: 3 | 8
3
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 1 | 2
1
답변질문
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년 전 | 답변 수: 0 | 0
0
답변제출됨
Update MATLAB's MKL
This basic text file will update MATLAB 2014b's MKL from version 11.1.1 to 11.3.1
9년 초과 전 | 다운로드 수: 1 |
답변 있음
Fast interp1 with 'spline'
griddedInterpolant is a lot faster than interp1, interp2, etc. routines.
Fast interp1 with 'spline'
griddedInterpolant is a lot faster than interp1, interp2, etc. routines.
9년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 3 | 3
3
답변질문
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년 전 | 답변 수: 2 | 1
2
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 2 | 1