# carmen

Actif depuis 2012

Followers: 0   Following: 0

#### Feeds

Afficher par

Question

reset GUI axes properties, including position etc
Hello, I have an axes object within a GUI that is subsequently used for different images/plots. How can i reset all prope...

plus de 12 ans il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
functions vs. script
Thank you everybody for a set of very good answers, i think you helped me out to a great extend and made me do a big step forwar...

plus de 12 ans il y a | 0

Réponse apportée
Delete rows with NaN records
check out the isnan() functioion. the following code looks like a workaround but it works: A=[1 2 3;nan 4 5;nan 6 nan]; ...

plus de 12 ans il y a | 1

Réponse apportée
not take into account zeros in a graph
another way is to use z=[3 0 2 0 0 0 5 0 2 0 0 0 4 0 1 0 0 8]; z(z=0)=[] % now z == [3 2 5 2 4 1 8] plot(z) this...

plus de 12 ans il y a | 0

Question

functions vs. script
Hello, my question is, what advantages do i have from using functions instead of scripts? I am writing code with matlab for ...

plus de 12 ans il y a | 7 réponses | 2

### 7

réponses

Réponse apportée
non zero elements above 70 and below -70 zero
then you modify Honglei Chen 's approach according to your wish: x(1:2,x(1:2,:)>70 | x(1:2,:)<-70)=0 that should be it...

plus de 12 ans il y a | 0

Réponse apportée
matrix, using variables like a1,a2,a3,...an, minimum
ok heres a brute force version without fancy commands. a=[2 6 7 8;4 5 3 7;9 7 6 9;5 3 1 9] rows=size(a,1); colum...

plus de 12 ans il y a | 0

Réponse apportée
storing data set
sure :) ok my answer was kind of an overkill, sorry! let "a" be your 200x200 variable and "savea.mat" the file you want to s...

plus de 12 ans il y a | 1

Réponse apportée
storing data set
I onec used save(sprintf('%s\\%s\\filename',pwd,'foldername'),'varname'); load(sprintf('%s\\%s\\filename',pwd,'foldern...

plus de 12 ans il y a | 0

Question

meshgrid() confusion (dimesions, index,...)
Hello everybody, i have a fundamental question on the meshgrid() function. I have a 10x20x30 cubus of scalar data. i wanted to...

plus de 12 ans il y a | 1 réponse | 0

réponse