photo

Rightia Rollmann


自 2016 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 5

查看徽章

Feeds

排序方式:

提问


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

6 years 前 | 1 个回答 | 0

1

个回答

提问


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

6 years 前 | 1 个回答 | 0

1

个回答

提问


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

6 years 前 | 1 个回答 | 0

1

个回答

提问


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

6 years 前 | 1 个回答 | 0

1

个回答

提问


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

6 years 前 | 1 个回答 | 0

1

个回答

提问


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

6 years 前 | 0 个回答 | 0

0

个回答

提问


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

6 years 前 | 1 个回答 | 0

1

个回答

已回答
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. ...

6 years 前 | 0

| 已接受

提问


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

6 years 前 | 2 个回答 | 0

2

个回答

提问


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

6 years 前 | 1 个回答 | 1

1

个回答

提问


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

6 years 前 | 0 个回答 | 0

0

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 3 个回答 | 0

3

个回答

提问


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

7 years 前 | 3 个回答 | 2

3

个回答

提问


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

7 years 前 | 0 个回答 | 0

0

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 0 个回答 | 0

0

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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?

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 0 个回答 | 0

0

个回答

加载更多