Community Profile

photo

Rightia Rollmann


104 total contributions since 2016

Rightia Rollmann's Badges

  • Thankful Level 4

View details...

Contributions in
View by

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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);

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 0 answers | 0

0

answers

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 0

| accepted

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

ongeveer een jaar ago | 2 answers | 0

2

answers

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);

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 0 answers | 0

0

answers

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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 2 answers | 0

2

answers

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 3 answers | 0

3

answers

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

meer dan 2 jaar ago | 3 answers | 2

3

answers

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

meer dan 2 jaar ago | 0 answers | 0

0

answers

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

meer dan 2 jaar ago | 2 answers | 0

2

answers

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

meer dan 2 jaar ago | 0 answers | 0

0

answers

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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?

meer dan 2 jaar ago | 2 answers | 0

2

answers

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

meer dan 2 jaar ago | 0 answers | 0

0

answers

Load more