Community Profile

photo

Alec


Active since 2011

Statistics

  • First Review
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Sparse Block diagonal matrix
Or, if you can, call `sparse` before `blkdiag`: X = ones(30, 1000); X = num2cell(sparse(X),1); B = blkdiag(X{:});

7 years ago | 6

Question


Is cholupdate not supported for sparse matrices?
I have a large sparse matrix `A` and I issue: [L,p] = chol(A); Then I try to delete a row using [L1] = cholupda...

7 years ago | 0 answers | 0

0

answers

Question


New MATLAB version overrides my function with class method. Can I still call my function?
I had a function in a file harmonic.m in my matlab path with prototype: function D = harmonic(A,B,C) where, importantly, A i...

7 years ago | 0 answers | 1

0

answers

Answered
how to write variables in a functions workspace by assignin
To use `assignin` inside a function try: feval(@()assignin('caller',['h_ann_' num2str(k)], dummy)); This temporarily cre...

7 years ago | 6

| accepted

Answered
How can I create animated GIF images in MATLAB ?
So it appears that `imwrite` now supports writing animated grayscale GIFs "When writing multiframe GIF images, X should be an 4-...

8 years ago | 1

Answered
interpolate over a multi-dimensional function
It seems interpn only works with scalar functions. If you issue open interpn you can see where it parses the input it ex...

10 years ago | 0