photo

Alec


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

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{:});

meer dan 10 jaar 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...

meer dan 10 jaar 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...

meer dan 10 jaar 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...

bijna 11 jaar ago | 7

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

bijna 11 jaar 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...

meer dan 13 jaar ago | 0