photo

Rightia Rollmann


Actif depuis 2016

Followers: 0   Following: 0

Statistiques

  • Thankful Level 5

Afficher les badges

Feeds

Afficher par

Question


How to Define Title Before Plotting?
The code below works well: hax = axes; x = linspace(0,3); y1 = sin(5*x); plot(hax,x,y1) hax.Title.String =...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to Change the Fill Color of the Box in a Box Plot?
How to change the FaceColor of the box in the box plot below to red? A = [1:12]; boxplot(A);

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to mask cells of certain values?
The following works well: A = [1 2 3 4 5]; A > 2 0 0 1 1 1 But, how can i mask A==1 and A ==3, so getting the ...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to Change the Staking Order of Lines from Back-to-Front to Front-to-Back?
It seems that the order of staking lines in a graph is back-to-front, so blue line will be behind red line. hor_line = [1,...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Is there any way to have labels in color for boxplots?
It seems that boxplot function doesn't accept TeX Markup to give a specific color to labels of boxplot. Any idea to give a co...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


function handle for random function
If I want to know the integral of the function log(x) from 0 to 1, I do the following: fun = @(x)log(x); q1 = integral(f...

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

0

réponse

Question


Why p-values are uniformly distributed when the null hypothesis is true?
I am struggling to understand why p-values are uniformly distributed when the null hypothesis is true. To me, it sounds very cou...

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

1

réponse

Réponse apportée
Why does MATLAB generate identical random values after re-opening the program?
I set rng to 'default', so I expected that it'll generate new random numbers after re-running MATLAB, but that is not the case. ...

plus de 6 ans il y a | 0

| A accepté

Question


Why does MATLAB generate identical random values after re-opening the program?
I run the code below y = rand(1,5) and I get the following values: 0.8147 0.9058 0.1270 0.9134 0.6324 ...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Question


How to plot a probability distribution object?
How can I, for example, plot the probability distribution object below? pd = makedist('Normal','mu',75,'sigma',10);

plus de 6 ans il y a | 1 réponse | 1

1

réponse

Question


Problem with Making a Folder in Win10
I want to create folder 't2', but MATLAB throws a warning that 'Directory already exists', although the folder does NOT exist. W...

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

0

réponse

Question


The Background Color Is Not Saved!
I want to save this image with a gray background, but when I open the .jpg file, it appears with a white background. h = gc...

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

2

réponses

Question


How to modify a struct and create a new struct out of it?
I want to get Cartesian coordinates from struct A A(1).X = 1; A(1).Y = 2; A(1).Z = 3; A(2).X = 4; A(2).Y = 5; ...

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

1

réponse

Question


What Is the Meaning of This Syntax?
What is the meaning of this syntax: .'* for example: A = [1 4 2 5 6; 2 3 4 5 6]; W = [2; 3]; ...

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

1

réponse

Question


How to Compare Two Groups of Signals?
Imagine I have two groups of signals A and B having four and three samples, respectively. A1 = [1 3 -1 2]; A2 = [1 3 -2 ...

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

2

réponses

Question


How to Put a Specific Function Inside a For Loop Depending on the Result of an If Statement?
I am currently using something like below. The problem is that for each iteration the if statement is checked and it slows down ...

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

1

réponse

Question


What Does Each Element of This Syntax Mean?
I create a push button in GUIDE. When I create a callback function for it, it automatically creates the syntax below: <<...

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

1

réponse

Question


How to Make All Children of a Figure Invisible?
Imagine I have a figure with three axes objects and a rectangle. hfig = figure; hax1 = axes; hax2 = axes; hax3...

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

1

réponse

Question


How to Keep a Character in A Fixed Position?
I have created a Static Text that shows the current values of A and B: A: 1 B: 2 When A’s value has more than one di...

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

1

réponse

Question


How Can I Save Some Fields of a Struct Using uisave Function?
I want to save some fields of a struct using |uisave| function. The problem is |uisave| doesn’t have the options that |save| fun...

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

1

réponse

Question


How to Make a Huge Struct Accessible to Many Functions?
I have a huge struct loaded by a function. I have other functions that will use some of the fields of the struct to calculate so...

plus de 7 ans il y a | 3 réponses | 0

3

réponses

Question


Why Is Not the Handles Variable Updated?
I have made a simple GUI in GUIDE. I update field A by function myfun1 to the value 20, but I still get 1 in the Command Window!...

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

3

réponses

Question


Why Does the Field Get Unexpectedly Deleted?
I have made a GUI in GUIDE. When myfun1 gets executed inside myfun2, suddenly field A gets deleted from variable handles. WHY...

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

0

réponse

Question


How to Save a File with a New Exetesion?
Imagine I have the variable below: B = [1 2 3]; save(‘B’, ‘B’); When I save variable B, MATLAB creates a file named B...

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

2

réponses

Question


How to Run an App Again without the Need to Close It Manually?
Imagine I have a simple app made in GUIDE which loads a file and does some analyses. When I want to load another file, I first h...

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

0

réponse

Question


How to Access All Variables of a Function?
Imagine I have several functions in an M File and want to see ALL variables of one of these functions when it is executed. How? ...

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

1

réponse

Question


Why Does Handles Overwrite This Variable?
I have created a GUI with only two push buttons and then replaced the callback functions of these two push buttons with the code...

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

1

réponse

Question


How to Share Data Between These Functions?
Imagine I have myfun1 that loads struct A from disk. I have other functions that should use some fields of A to do some calculat...

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

1

réponse

Question


How to Clear all Variables of a Workspace Except for Those Explicitly Excluded?
How do I clear all variables of a workspace except for those that I explicitly mention not to be cleared?

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

2

réponses

Question


How to Access These Values of This Struc without Using a For Loop?
Here’s my initial struct: A(1).B.C = 'a'; A(2).B.C = 'b'; A(3).B.C = 'a'; A(4).B.C = 'a'; I want to change the ...

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

0

réponse

Charger plus