photo

Anthony Barone


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

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

etwa 6 Jahre vor | 0

Frage


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

etwa 6 Jahre vor | 1 Antwort | 1

1

Antwort

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 1

1

Antwort

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

mehr als 6 Jahre vor | 0

Frage


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

fast 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

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

fast 7 Jahre vor | 1

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 7 Jahre vor | 0

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 3

1

Antwort

Frage


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

mehr als 7 Jahre vor | 3 Antworten | 0

3

Antworten

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

mehr als 7 Jahre vor | 0

Frage


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

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 8 Jahre vor | 0 Antworten | 3

0

Antworten

Frage


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

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 2

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 2

2

Antworten

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

mehr als 9 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort