photo

Anthony Barone


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Answered
Hi, I have this function , can help me to vectorize it? thanks
I think this will work. % % % % % CREATE MASK FOR MATRIX MULTIPLICATION % % % % % % each column computes the summation...

6 years ago | 0

Question


Major speed reduction (~50x) when doing multiple matrix multiply operations in a row. Is this a (major) bug? Any ideas for a fix?
The code I am running more-or-less implements the following % PREALLOCATE. For the current tests I'm running: N=1200, M=2049...

6 years ago | 1 answer | 1

1

answer

Answered
Interpolating matrices of different sizes to the same size
<https://www.mathworks.com/help/matlab/ref/interp1.html interp1> will do what you want. I find that using it with the 'pchip' fl...

6 years ago | 0

Answered
Is it possible to create a sparse binary (.bin) file on disk?
In case anyone comes across this question looking for the same thing...at some point in the last year I figured out a much bette...

6 years ago | 1

| accepted

Question


How does MATLAB internally store sparse arrays / Calling MKL's sparse BLAS library for sparse matrix operations
SHORT VERSION <https://software.intel.com/en-us/mkl-developer-reference-fortran-sparse-matrix-storage-formats This is a list ...

6 years ago | 1 answer | 1

1

answer

Answered
access to matlab history while running in nodesktop mode
This question is old and the original poster has probably long since mved on, but I figured in case anyone else comes across thi...

6 years ago | 0

Question


Bug with 'imread' - is there any way around this?
*Issue*: when you use windows to rotate an image, Matlab's 'imread' function does not acknowledge the image rotation and instead...

7 years ago | 1 answer | 1

1

answer

Question


Question re: Matlab Coder, OpenMP, and compiling the code on a different machine than i was generated.
I have a loop I want to convert to Paralellized C code. My machne (Windows 10) has both Matlab Coder and the Parallel computingt...

7 years ago | 0 answers | 0

0

answers

Answered
Distributed Computing with RamDisk
This may or may not be related and is more of a general "this might be worth looking into" suggestion than something specific, b...

7 years ago | 1

Question


Can Matlab "Memory Map" actual memory addresses?
Id like to be able to memory map a set of actual memory addresses and access data from those addresses from multiple instances o...

7 years ago | 1 answer | 0

1

answer

Answered
New laptop: better i7-7920hq or Xeon E3-1535M v6 for matlab?
I doubt there will be much of a difference. They both use the same generation of CPU Architecture (Kaby Lake) and have effective...

7 years ago | 0

Question


Is it possible to improve fread/fwrite performance and further speed up loading/writing of binary data?
I am working on a project that requires reading and writing large amounts of binary data from disk (10's to 100's of GB). I've m...

7 years ago | 1 answer | 0

1

answer

Question


Please help me create a tall array from a large binary file and "fileDatastore" without running out of memory.
I have a large data file (the particular file I am working with now is ~60gb, though a few hundred gb's is typical) that I want ...

7 years ago | 2 answers | 0

2

answers

Question


How can you set up very large Tall Arrays without Running into swap/page-file issues
I recently tried setting up a tall array, using the following (approximate) code: ds=fileDatastore(filename,'ReadFcn',@myda...

7 years ago | 2 answers | 0

2

answers

Question


Is there a way to limit file and internet access in Matlab?
The use case I am thinking of is: If you are running code that you found online, it might be smart to run it in an "isolated...

7 years ago | 1 answer | 0

1

answer

Question


Does matlab use the AVX instruction set? If so what version?
Advanced Vector Instructions, or AVX, allows multiple floating point and integer operaions to be performed simultaneously, and i...

7 years ago | 1 answer | 3

1

answer

Question


Is it possible to create a sparse binary (.bin) file on disk?
I have a project where I would like to save my results to a binary (.bin) file that is stored on disk. Results need to be saved ...

7 years ago | 3 answers | 0

3

answers

Answered
memmapfile system memory usage and transfer rate
Are you using memory mapped .mat files? If so, and this is just a guess, but it could be because .mat files use compression (wel...

7 years ago | 0

Question


Possible memory leak with "matfile"? (R2016b)
I'm running a code where the results I am generating are saved to disk using matfile. It is running on matlab R2016b on a Linux ...

7 years ago | 0 answers | 0

0

answers

Question


How to make a figure larger than fullscreen?
I am trying to generate figures larger than my current screen resolution, and matlab doesnt seem to let me. I have a 1080p scree...

8 years ago | 2 answers | 0

2

answers

Question


Avoid "depth limit" for nested parenthesis and brackets
MATLAB has a limit of 32 nested parenthesis / brackets, and I have a function that requires more than this. Can this limit be av...

8 years ago | 0 answers | 3

0

answers

Question


Numerical (finite difference) and analytic (symbolic toolbox) derivative do not agree.
I have a rather complicated function (6 free variables and 1 fixed variable) that I am trying to find the jacobian of. I know of...

8 years ago | 0 answers | 0

0

answers

Question


Can you simulate multiple instances of matlab without actually opening matab multiple times?
Is this Possible? I know you can open multiple instances of matlab and run separate independent scripts on each, but is there an...

8 years ago | 1 answer | 0

1

answer

Question


Location of mex executable
I am trying to find the location of the mex executable for use with another program (madagascar). In order to use madagascar, it...

8 years ago | 1 answer | 0

1

answer

Question


How can i vectorize a matrix multiplication of higher dimension arrays?
I want to multiply a 6x6 matrix A and a 6x1 vector B at every grid point in a 3D earth model. Currently I am doing this: ...

8 years ago | 2 answers | 0

2

answers

Question


How to load data from a location other than current directory
I would like to be able to load a .mat file from an arbitrary location that is not my currently selected folder. Example: dat...

9 years ago | 2 answers | 2

2

answers

Question


Suppress error warnings in matlab (when using parfor loop)
I am trying to supress a specific error message in one on my codes (specifically a "no start point" warning in a curve fitting f...

9 years ago | 2 answers | 2

2

answers

Answered
Pre-define some weights/phase using the fit function to fit a fourier series to data
I was able to figure this one out on my own. I created my own custom fitting function using the following code: w=1; Fou...

9 years ago | 0

| accepted

Question


Pre-define some weights/phase using the fit function to fit a fourier series to data
I am trying to decompose some data into a Fourier Series using the fit function, such that: f = fit(x,y,'fourier4') I woul...

9 years ago | 1 answer | 0

1

answer