photo

Qian


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

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

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

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

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

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

12 years ago | 1 answer | 0

1

answer