Community Profile

photo

Qian


Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Save figures with saveas function
When I have a m.file with plot function codes, and at last there is this line of: print -djpeg100 aaaa I'm not sure this is ...

casi 9 años ago | 1 answer | 0

1

answer

Question


how to simplify multi- if statement
I'm trying to do the following work, given a string of 'ABCDE' etc, for each letter, it will be assigned with a unique numbe...

casi 9 años ago | 2 answers | 0

2

answers

Question


Quick way to change complex number into NaN
If I have a matrix of A=[1 2 ; 2+i 3] I want to make it into A=[1 2; NaN 3] Is there anyway like using isnan function to do...

casi 9 años ago | 1 answer | 0

1

answer

Question


minimum of a 3D matrix
M=rand(2,2,3) [minM idx] = min(M(:)); [n m t] = ind2sub(size(M),idx) minM M(n,m,t) I know this will giv...

casi 9 años ago | 2 answers | 0

2

answers

Question


building a 3D matrix
I understand how the following works, x=[a b; c d]; x(:,:,2)=x; which will give x as 3-D matrix. However, i'm writing a code...

casi 9 años ago | 1 answer | 0

1

answer