Community Profile

photo

Anthony Barone


Attivo dal 2015

Statistiche

  • Thankful Level 3
  • First Answer

Visualizza badge

Content Feed

Visto da

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

oltre 5 anni fa | 0

Domanda


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

oltre 5 anni fa | 1 risposta | 1

1

risposta

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

oltre 5 anni fa | 0

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

quasi 6 anni fa | 1

| accettato

Domanda


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

quasi 6 anni fa | 1 risposta | 1

1

risposta

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

quasi 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

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

oltre 6 anni fa | 1

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 7 anni fa | 1 risposta | 3

1

risposta

Domanda


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

circa 7 anni fa | 3 risposte | 0

3

risposte

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

circa 7 anni fa | 0

Domanda


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

circa 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 8 anni fa | 0 risposte | 3

0

risposte

Domanda


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

quasi 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 2

2

risposte

Domanda


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

circa 9 anni fa | 2 risposte | 2

2

risposte

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

circa 9 anni fa | 0

| accettato

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta